Changeset 29677 in osm for applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java
- Timestamp:
- 2013-06-21T00:29:01+02:00 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/cadastre-fr/src/cadastre_fr/MenuActionGrabPlanImage.java
r29668 r29677 145 145 handleNewCoordinates(ea.east(), ea.north()); 146 146 } else { 147 countMouseClicked++;148 147 // ignore clicks outside the image 149 148 if (ea.east() < wmsLayer.getImage(0).min.east() || ea.east() > wmsLayer.getImage(0).max.east() 150 149 || ea.north() < wmsLayer.getImage(0).min.north() || ea.north() > wmsLayer.getImage(0).max.north()) 150 { 151 System.out.println("ignore clic outside the image"); 151 152 return; 153 } 154 countMouseClicked++; 152 155 if (mode == cGetCorners) { 153 156 if (countMouseClicked == 1) {
Note:
See TracChangeset
for help on using the changeset viewer.
