Changeset 13444 in josm for trunk/src/org
- Timestamp:
- 2018-02-19T00:41:39+01:00 (7 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r13435 r13444 265 265 266 266 virtualManager.clear(); 267 if ((mode == Mode.MOVE || mode == Mode.SELECT) 268 && !dragInProgress() && virtualManager.activateVirtualNodeNearPoint(e.getPoint())) { 267 if (mode == Mode.MOVE && !dragInProgress() && virtualManager.activateVirtualNodeNearPoint(e.getPoint())) { 269 268 DataSet ds = getLayerManager().getActiveDataSet(); 270 269 if (ds != null && drawTargetHighlight) { -
trunk/src/org/openstreetmap/josm/data/osm/visitor/paint/AbstractMapRenderer.java
r12846 r13444 128 128 */ 129 129 public void drawVirtualNodes(DataSet data, BBox bbox) { 130 if (virtualNodeSize == 0 || data == null || bbox == null )130 if (virtualNodeSize == 0 || data == null || bbox == null || data.isReadOnly()) 131 131 return; 132 132 // print normal virtual nodes
Note:
See TracChangeset
for help on using the changeset viewer.