Ignore:
Timestamp:
2011-02-20T15:08:35+01:00 (15 years ago)
Author:
stoecker
Message:

unify cursor handling, hopefully fix #5381

File:
1 edited

Legend:

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

    r3847 r3919  
    116116        if (layer.isVisible()) {
    117117            prevEastNorth=Main.map.mapView.getEastNorth(e.getX(),e.getY());
    118             Main.map.mapView.setCursor
    119             (Cursor.getPredefinedCursor(Cursor.MOVE_CURSOR));
     118            Main.map.mapView.setNewCursor(Cursor.MOVE_CURSOR, this);
    120119        }
    121120    }
     
    137136    @Override public void mouseReleased(MouseEvent e) {
    138137        Main.map.mapView.repaint();
    139         Main.map.mapView.setCursor(Cursor.getDefaultCursor());
     138        Main.map.mapView.resetCursor(this);
    140139        prevEastNorth = null;
    141140    }
Note: See TracChangeset for help on using the changeset viewer.