Changeset 35534 in osm for applications/viewer/jmapviewer/src/org
- Timestamp:
- 2020-08-29T19:16:21+02:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/viewer/jmapviewer/src/org/openstreetmap/gui/jmapviewer/MapObjectImpl.java
r31429 r35534 92 92 93 93 private boolean isVisibleLayer() { 94 return layer == null || layer.isVisible() == null ? true :layer.isVisible();94 return layer == null || layer.isVisible() == null || layer.isVisible(); 95 95 } 96 96 97 97 public boolean isVisible() { 98 return visible == null ? isVisibleLayer() : visible .booleanValue();98 return visible == null ? isVisibleLayer() : visible; 99 99 } 100 100
Note:
See TracChangeset
for help on using the changeset viewer.