- Timestamp:
- 2009-11-10T08:08:47+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r2422 r2426 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
Note:
See TracChangeset
for help on using the changeset viewer.