Changeset 11071 in josm
- Timestamp:
- 2016-10-02T11:31:09+02:00 (8 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r11048 r11071 460 460 Set<MapViewPaintable> invalidated = invalidatedListener.collectInvalidatedLayers(); 461 461 for (Layer l: visibleLayers) { 462 // `isChanged` for backward compatibility, see https://josm.openstreetmap.de/ticket/13175#comment:7 463 // Layers that still implement it (plugins) will use it to tell the MapView that they have been changed. 464 // This is why the MapView still uses it in addition to the invalidation events. 462 465 if (l.isChanged() || invalidated.contains(l)) { 463 466 break; -
trunk/test/unit/org/openstreetmap/josm/gui/layer/GpxLayerTest.java
r10824 r11071 83 83 assertEquals("<html>0 tracks, 0 routes, 0 waypoints<br>Length: < 0.01 m<br></html>", layer2.getToolTipText()); 84 84 85 assertFalse(layer.isChanged());86 85 assertTrue(layer.checkSaveConditions()); 87 86 assertTrue(layer.isInfoResizable());
Note:
See TracChangeset
for help on using the changeset viewer.