Changeset 13089 in josm for trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
- Timestamp:
- 2017-11-06T12:25:38+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/mappaint/ElemStyles.java
r12971 r13089 89 89 cacheIdx++; 90 90 preferenceCache.clear(); 91 backgroundColorCache = null; 91 92 }); 92 93 } … … 470 471 void clear() { 471 472 styleSources.clear(); 472 invalidate();473 473 } 474 474 … … 479 479 void add(StyleSource style) { 480 480 styleSources.add(style); 481 invalidate();482 481 } 483 482 … … 489 488 boolean remove(StyleSource style) { 490 489 boolean result = styleSources.remove(style); 491 invalidate();492 490 return result; 493 491 } … … 500 498 styleSources.clear(); 501 499 styleSources.addAll(sources); 502 invalidate();503 }504 505 private void invalidate() {506 backgroundColorCache = null;507 500 } 508 501
Note:
See TracChangeset
for help on using the changeset viewer.