Ignore:
Timestamp:
2014-04-05T15:27:26+02:00 (6 years ago)
Author:
Don-vip
Message:

see #9897 - refactor OSX stuff

File:
1 edited

Legend:

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

    r6889 r6957  
    5656import org.openstreetmap.josm.tools.ImageProvider;
    5757import org.openstreetmap.josm.tools.Pair;
    58 import org.openstreetmap.josm.tools.PlatformHookOsx;
    5958import org.openstreetmap.josm.tools.Shortcut;
    6059
     
    473472    public void mouseMoved(MouseEvent e) {
    474473        // Mac OSX simulates with  ctrl + mouse 1  the second mouse button hence no dragging events get fired.
    475         if ((Main.platform instanceof PlatformHookOsx) && (mode == Mode.rotate || mode == Mode.scale)) {
     474        if (Main.isPlatformOsx() && (mode == Mode.rotate || mode == Mode.scale)) {
    476475            mouseDragged(e);
    477476            return;
Note: See TracChangeset for help on using the changeset viewer.