Changeset 17056 in josm
- Timestamp:
- 2020-09-24T09:57:53+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapStatus.java
r16986 r17056 1225 1225 @Override 1226 1226 public void wayNodesChanged(WayNodesChangedEvent event) { 1227 Collection<OsmPrimitive> sel = event.getDataset().getSelected(); 1228 if (sel.size() == 1 && sel.contains(event.getChangedWay())) { 1229 refreshDistText(sel); 1230 } 1227 refreshDistText(event.getDataset().getSelected()); 1231 1228 } 1232 1229 1233 1230 @Override 1234 1231 public void nodeMoved(NodeMovedEvent event) { 1235 Collection<OsmPrimitive> sel = event.getDataset().getSelected(); 1236 if (sel.size() == 2 && sel.contains(event.getNode())) { 1237 refreshDistText(sel); 1238 } 1232 refreshDistText(event.getDataset().getSelected()); 1239 1233 } 1240 1234 … … 1266 1260 @Override 1267 1261 public void dataChanged(DataChangedEvent event) { 1268 // Do nothing1262 refreshDistText(event.getDataset().getSelected()); 1269 1263 } 1270 1264 }
Note:
See TracChangeset
for help on using the changeset viewer.