Changeset 11288 in josm for trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java
- Timestamp:
- 2016-11-20T17:33:33+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/AutoScaleAction.java
r10601 r11288 15 15 import java.util.HashSet; 16 16 import java.util.List; 17 import java.util.concurrent.TimeUnit; 17 18 18 19 import javax.swing.JOptionPane; … … 312 313 313 314 private BoundingXYVisitor modeDownload(BoundingXYVisitor v) { 314 if (lastZoomTime > 0 && System.currentTimeMillis() - lastZoomTime > Main.pref.getLong("zoom.bounds.reset.time", 10L*1000L)) { 315 if (lastZoomTime > 0 && 316 System.currentTimeMillis() - lastZoomTime > Main.pref.getLong("zoom.bounds.reset.time", TimeUnit.SECONDS.toMillis(10))) { 315 317 lastZoomTime = -1; 316 318 }
Note:
See TracChangeset
for help on using the changeset viewer.