Changeset 14967 in josm
- Timestamp:
- 2019-04-07T09:12:08+02:00 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/CreateCircleAction.java
r14960 r14967 215 215 LatLon ll = ProjectionRegistry.getProjection().eastNorth2latlon(new EastNorth(x, y)); 216 216 if (new Node(new EastNorth(x, y)).isOutSideWorld()) { 217 notifyNodes NotOnCircle();217 notifyNodesOutsideWorld(); 218 218 return; 219 219 } … … 285 285 } 286 286 287 private static void notifyNodesOutsideWorld() { 288 new Notification(tr("Cannot add a node outside of the world.")) 289 .setIcon(JOptionPane.WARNING_MESSAGE) 290 .show(); 291 } 292 287 293 @Override 288 294 protected void updateEnabledState() {
Note:
See TracChangeset
for help on using the changeset viewer.