Changeset 11386 in josm for trunk/src/org/openstreetmap/josm/gui/bbox
- Timestamp:
- 2016-12-13T02:16:07+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/bbox/SlippyMapControler.java
r10217 r11386 118 118 119 119 /** 120 * Start drawing the selection rectangle if it was the 1st button (left 121 * button) 120 * Start drawing the selection rectangle if it was the 1st button (left button) 122 121 */ 123 122 @Override … … 132 131 public void mouseDragged(MouseEvent e) { 133 132 if ((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == MouseEvent.BUTTON1_DOWN_MASK && 134 !(Main.isPlatformOsx() && e.getModifiersEx() == MAC_MOUSE_BUTTON3_MASK)) { 135 if (iStartSelectionPoint != null) { 136 iEndSelectionPoint = e.getPoint(); 137 iSlippyMapChooser.setSelection(iStartSelectionPoint, iEndSelectionPoint); 138 isSelecting = true; 139 } 133 !(Main.isPlatformOsx() && e.getModifiersEx() == MAC_MOUSE_BUTTON3_MASK) && iStartSelectionPoint != null) { 134 iEndSelectionPoint = e.getPoint(); 135 iSlippyMapChooser.setSelection(iStartSelectionPoint, iEndSelectionPoint); 136 isSelecting = true; 140 137 } 141 138 }
Note:
See TracChangeset
for help on using the changeset viewer.