Ticket #3883: snapdistance.patch
File snapdistance.patch, 687 bytes (added by , 16 years ago) |
---|
-
src/org/openstreetmap/josm/gui/NavigatableComponent.java
298 298 } 299 299 300 300 private BBox getSnapDistanceBBox(Point p) { 301 return new BBox(getLatLon(p.x - snapDistance / 2, p.y - snapDistance / 2),302 getLatLon(p.x + snapDistance / 2, p.y + snapDistance / 2));301 return new BBox(getLatLon(p.x - snapDistance, p.y - snapDistance), 302 getLatLon(p.x + snapDistance, p.y + snapDistance)); 303 303 } 304 304 305 305 /**