Ignore:
Timestamp:
2012-01-22T12:29:02+01:00 (13 years ago)
Author:
stoecker
Message:

ImproveWayAccuracy is in core, some small fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/CommandLine/src/CommandLine/AnyAction.java

    r25052 r27551  
    130130                        if (!Main.isDisplayingMapView())
    131131                                return;
    132                         nearestPrimitive = Main.map.mapView.getNearest(mousePos, OsmPrimitive.isUsablePredicate); // Deprecated
     132                        nearestPrimitive = Main.map.mapView.getNearestNodeOrWay(mousePos, OsmPrimitive.isUsablePredicate, false);
    133133                        if (nearestPrimitive != null) {
    134134                                setCursor(cursorActive);
Note: See TracChangeset for help on using the changeset viewer.