Changeset 1643 in josm for trunk


Ignore:
Timestamp:
2009-06-06T17:14:03+02:00 (15 years ago)
Author:
stoecker
Message:

fix #2331 - patch by dmuecke - zoom under MacOs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/PlatformHookOsx.java

    r1634 r1643  
    230230
    231231        Shortcut.registerSystemShortcut("system:about", "reserved", 0, -1).setAutomatic(); // About
     232
     233        Shortcut.registerSystemShortcut("view:zoomin", "reserved", KeyEvent.VK_ADD, KeyEvent.META_DOWN_MASK); // Zoom in
     234        Shortcut.registerSystemShortcut("view:zoomout", "reserved", KeyEvent.VK_SUBTRACT, KeyEvent.META_DOWN_MASK); // Zoom out
     235
    232236    }
    233237    public String makeTooltip(String name, Shortcut sc) {
Note: See TracChangeset for help on using the changeset viewer.