- Timestamp:
- 2016-05-17T13:28:04+02:00 (9 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/ZoomAction.java
r8308 r10241 28 28 * 29 29 * @author imi 30 * @since 1 30 31 */ 31 32 public class ZoomAction extends MapMode implements SelectionEnded { … … 42 43 public ZoomAction(MapFrame mapFrame) { 43 44 super(tr("Zoom"), "zoom", tr("Zoom and move map"), 44 Shortcut.registerShortcut("mapmode:zoom", tr("Mode: {0}", tr("Zoom")), KeyEvent. VK_Z, Shortcut.DIRECT),45 Shortcut.registerShortcut("mapmode:zoom", tr("Mode: {0}", tr("Zoom")), KeyEvent.CHAR_UNDEFINED, Shortcut.NONE), 45 46 mapFrame, ImageProvider.getCursor("normal", "zoom")); 46 47 selectionManager = new SelectionManager(this, true, mapFrame.mapView); -
trunk/src/org/openstreetmap/josm/gui/MapFrame.java
r10179 r10241 246 246 addMapMode(new IconToggleButton(mapModeSelectLasso, true)); 247 247 addMapMode(new IconToggleButton(mapModeDraw)); 248 addMapMode(new IconToggleButton(mapModeZoom ));248 addMapMode(new IconToggleButton(mapModeZoom, true)); 249 249 addMapMode(new IconToggleButton(new DeleteAction(this), true)); 250 250 addMapMode(new IconToggleButton(new ParallelWayAction(this), true));
Note:
See TracChangeset
for help on using the changeset viewer.