Changeset 14120 in josm for trunk/src/org/openstreetmap/josm/command
- Timestamp:
- 2018-08-11T17:29:48+02:00 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/command/MoveCommand.java
r12778 r14120 14 14 import javax.swing.Icon; 15 15 16 import org.openstreetmap.josm.Main;17 16 import org.openstreetmap.josm.data.coor.EastNorth; 18 17 import org.openstreetmap.josm.data.coor.LatLon; … … 21 20 import org.openstreetmap.josm.data.osm.OsmPrimitive; 22 21 import org.openstreetmap.josm.data.osm.visitor.AllNodesVisitor; 22 import org.openstreetmap.josm.data.projection.ProjectionRegistry; 23 23 import org.openstreetmap.josm.tools.ImageProvider; 24 24 … … 73 73 public MoveCommand(Node node, LatLon position) { 74 74 this(Collections.singleton((OsmPrimitive) node), 75 Main.getProjection().latlon2eastNorth(position).subtract(node.getEastNorth()));75 ProjectionRegistry.getProjection().latlon2eastNorth(position).subtract(node.getEastNorth())); 76 76 } 77 77
Note:
See TracChangeset
for help on using the changeset viewer.
