Changeset 5764 in josm for trunk/src/org/openstreetmap/josm/actions
- Timestamp:
- 2013-03-08T19:35:50+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r5741 r5764 1010 1010 // fall through to default action. 1011 1011 // (for semi-parallel lines, intersection might be miles away!) 1012 if (Main.map.mapView.getPoint (n).distance(Main.map.mapView.getPoint(intersection)) < snapToIntersectionThreshold) {1012 if (Main.map.mapView.getPoint2D(n).distance(Main.map.mapView.getPoint2D(intersection)) < snapToIntersectionThreshold) { 1013 1013 n.setEastNorth(intersection); 1014 1014 return;
Note:
See TracChangeset
for help on using the changeset viewer.