Changeset 71 in josm for src/org/openstreetmap/josm/actions/mapmode/AddLineSegmentAction.java
- Timestamp:
- 2006-03-25T16:21:09+01:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/org/openstreetmap/josm/actions/mapmode/AddLineSegmentAction.java
r68 r71 162 162 g.setColor(Color.BLACK); 163 163 g.setXORMode(Color.WHITE); 164 Point firstDrawn = mv.get ScreenPoint(first.coor);165 Point secondDrawn = mv.get ScreenPoint(second.coor);164 Point firstDrawn = mv.getPoint(first.eastNorth); 165 Point secondDrawn = mv.getPoint(second.eastNorth); 166 166 g.drawLine(firstDrawn.x, firstDrawn.y, secondDrawn.x, secondDrawn.y); 167 167 hintDrawn = !hintDrawn;
Note:
See TracChangeset
for help on using the changeset viewer.