Changeset 29854 in osm for applications/editors/josm/plugins/openstreetbugs/src/org
- Timestamp:
- 2013-08-21T03:47:16+02:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified applications/editors/josm/plugins/openstreetbugs/src/org/openstreetmap/josm/plugins/osb/OsbDownloadLoop.java ¶
r23191 r29854 30 30 import static org.openstreetmap.josm.tools.I18n.tr; 31 31 32 import java.awt.geom.Point2D;33 32 import java.util.concurrent.TimeUnit; 34 33 35 34 import org.openstreetmap.josm.Main; 35 import org.openstreetmap.josm.data.coor.EastNorth; 36 36 37 37 public class OsbDownloadLoop extends Thread { … … 47 47 private OsbPlugin plugin; 48 48 49 private Point2DlastCenter;49 private EastNorth lastCenter; 50 50 51 51 public OsbDownloadLoop() { … … 70 70 // zoomed the map 71 71 if(Main.map != null && Main.map.mapView != null) { 72 Point2DcurrentCenter = Main.map.mapView.getCenter();72 EastNorth currentCenter = Main.map.mapView.getCenter(); 73 73 if(currentCenter != null && !currentCenter.equals(lastCenter)) { 74 74 resetCountdown();
Note:
See TracChangeset
for help on using the changeset viewer.