Changeset 10405 in josm for trunk/src/org
- Timestamp:
- 2016-06-16T19:14:33+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/NavigatableComponent.java
r10395 r10405 315 315 316 316 protected void updateLocationState() { 317 if ( SwingUtilities.getWindowAncestor(this) != null && isShowing()) {317 if (isVisibleOnScreen()) { 318 318 state = state.usingLocation(this); 319 319 } 320 } 321 322 protected boolean isVisibleOnScreen() { 323 return SwingUtilities.getWindowAncestor(this) != null && isShowing(); 320 324 } 321 325
Note:
See TracChangeset
for help on using the changeset viewer.