- Timestamp:
- 2009-11-28T12:13:12+01:00 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/DrawAction.java
r2450 r2528 313 313 // Change draw tool only if mouse position is nearly the same, as 314 314 // otherwise fast clicks will count as a double click 315 getCurrentDataSet().setSelected(Collections.singleton(lastUsedNode)); 315 316 finishDrawing(); 316 317 return; … … 463 464 return; 464 465 } 465 if(!wayIsFinishedTemp) 466 { 466 if(!wayIsFinishedTemp){ 467 467 if(isSelfContainedWay(selectedWay, n0, n)) 468 468 return; … … 892 892 if (!Main.map.mapView.getBounds().contains(mousePos)) return; 893 893 894 Graphics2D g2 = (Graphics2D)g;894 Graphics2D g2 = g; 895 895 g2.setColor(selectedColor); 896 896 g2.setStroke(new BasicStroke(3, BasicStroke.CAP_ROUND, BasicStroke.JOIN_ROUND));
Note:
See TracChangeset
for help on using the changeset viewer.