Changeset 9567 in osm for applications/editors/josm/plugins/slippy_map_chooser
- Timestamp:
- 2008-08-08T16:17:22+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
applications/editors/josm/plugins/slippy_map_chooser/src/OsmMapControl.java
r9562 r9567 70 70 71 71 public void mouseDragged(MouseEvent e) { 72 if (iStartSelectionPoint != null) { 73 iEndSelectionPoint = e.getPoint(); 74 iSlippyMapChooser.setSelection(iStartSelectionPoint, iEndSelectionPoint); 72 if ((e.getModifiersEx() | MouseEvent.BUTTON1_DOWN_MASK) != 0) { 73 if (iStartSelectionPoint != null) { 74 iEndSelectionPoint = e.getPoint(); 75 iSlippyMapChooser.setSelection(iStartSelectionPoint, iEndSelectionPoint); 76 } 75 77 } 76 78 } … … 99 101 100 102 public void mouseMoved(MouseEvent e) { 101 // TODO Auto-generated method stub102 103 103 } 104 104
Note:
See TracChangeset
for help on using the changeset viewer.