Ignore:
Timestamp:
2020-10-11T09:32:44+02:00 (4 years ago)
Author:
GerdP
Message:

see #19906: Scale, rotate & create areas tool: bottom toolbar unusable to view angle/scale factor/offset measurement

  • Let Create areas tool manage the distance field in the status line
  • enable autoupdate of the distance field in MapMode.exitMode()
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/mapmode/ExtrudeAction.java

    r17141 r17157  
    295295        map.mapView.addMouseListener(this);
    296296        map.mapView.addMouseMotionListener(this);
     297        map.statusLine.setAutoLength(false);
    297298        ignoreNextKeyRelease = true;
    298299        map.keyDetector.addKeyListener(this);
     
    555556                joinNodesIfCollapsed(movingNodeList);
    556557            }
     558            MainApplication.getMap().statusLine.setDist(getLayerManager().getEditDataSet().getSelectedWays());
     559            MainApplication.getMap().statusLine.repaint();
    557560
    558561            updateKeyModifiers(e);
Note: See TracChangeset for help on using the changeset viewer.