- Timestamp:
- 2017-05-15T17:43:48+02:00 (8 years ago)
- Location:
- trunk/src/org/openstreetmap/josm/gui
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r12118 r12170 487 487 Set<MapViewPaintable> invalidated = invalidatedListener.collectInvalidatedLayers(); 488 488 for (Layer l: visibleLayers) { 489 // `isChanged` for backward compatibility, see https://josm.openstreetmap.de/ticket/13175#comment:7 490 // Layers that still implement it (plugins) will use it to tell the MapView that they have been changed. 491 // This is why the MapView still uses it in addition to the invalidation events. 492 if (l.isChanged() || invalidated.contains(l)) { 489 if (invalidated.contains(l)) { 493 490 break; 494 491 } else { -
trunk/src/org/openstreetmap/josm/gui/layer/AbstractTileSourceLayer.java
r12093 r12170 1670 1670 } 1671 1671 1672 @Override1673 public boolean isChanged() {1674 return false; // we use #invalidate()1675 }1676 1677 1672 /** 1678 1673 * Task responsible for precaching imagery along the gpx track -
trunk/src/org/openstreetmap/josm/gui/layer/Layer.java
r12114 r12170 507 507 * @deprecated This is not supported by multiple map views. 508 508 * Fire an {@link #invalidate()} to trigger a repaint. 509 * Let this method return false if you only use invalidation events.510 509 */ 511 510 @Deprecated 512 511 public boolean isChanged() { 513 return true;512 return false; 514 513 } 515 514
Note:
See TracChangeset
for help on using the changeset viewer.