Changeset 5075 in josm
- Timestamp:
- 2012-03-13T18:41:19+01:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r5016 r5075 303 303 DataSet ds = getCurrentDataSet(); 304 304 if (ds != null) { 305 ds.setHighlightedVirtualNodes(virtualWays);305 if(drawTargetHighlight) ds.setHighlightedVirtualNodes(virtualWays); 306 306 } 307 307 mv.setNewCursor(SelectActionCursor.virtual_node.cursor(), this); 308 308 // don't highlight anything else if a virtual node will be 309 return true;309 return drawTargetHighlight; // if no highlighting, repaint is not needed 310 310 } 311 311
Note:
See TracChangeset
for help on using the changeset viewer.