Changeset 7448 in josm for trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
- Timestamp:
- 2014-08-27T20:14:45+02:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r7447 r7448 91 91 if (!prim.isSelectable()) return false; 92 92 // if it isn't displayed on screen, you cannot click on it 93 synchronized (MapCSSStyleSource.STYLE_SOURCE_LOCK) { 93 MapCSSStyleSource.STYLE_SOURCE_LOCK.readLock().lock(); 94 try { 94 95 return !MapPaintStyles.getStyles().get(prim, getDist100Pixel(), NavigatableComponent.this).isEmpty(); 96 } finally { 97 MapCSSStyleSource.STYLE_SOURCE_LOCK.readLock().unlock(); 95 98 } 96 99 }
Note:
See TracChangeset
for help on using the changeset viewer.