Changeset 9570 in osm for applications/editors/josm


Ignore:
Timestamp:
2008-08-08T17:55:49+02:00 (16 years ago)
Author:
tim
Message:

FIXED:
Map moving triggered also region selection on OSX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/slippy_map_chooser/src/OsmMapControl.java

    r9567 r9570  
    6767                        }
    6868                }
     69               
    6970        }
    7071
    71         public void mouseDragged(MouseEvent e) {
    72                 if ((e.getModifiersEx() | MouseEvent.BUTTON1_DOWN_MASK) != 0) {
    73                         if (iStartSelectionPoint != null) {
     72        public void mouseDragged(MouseEvent e) {               
     73                if (e.getButton() == MouseEvent.BUTTON1 ) {                     
     74                        if (iStartSelectionPoint != null) {                             
    7475                                iEndSelectionPoint = e.getPoint();
    7576                                iSlippyMapChooser.setSelection(iStartSelectionPoint, iEndSelectionPoint);
Note: See TracChangeset for help on using the changeset viewer.