Changeset 9585 in osm for applications/editors/josm


Ignore:
Timestamp:
2008-08-09T12:43:50+02:00 (16 years ago)
Author:
stotz
Message:

mouseDragged() mouse button detection from original slippy map chooser

File:
1 edited

Legend:

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

    r9570 r9585  
    7171
    7272        public void mouseDragged(MouseEvent e) {               
    73                 if (e.getButton() == MouseEvent.BUTTON1 ) {                     
     73                if((e.getModifiersEx() & MouseEvent.BUTTON1_DOWN_MASK) == MouseEvent.BUTTON1_DOWN_MASK){
    7474                        if (iStartSelectionPoint != null) {                             
    7575                                iEndSelectionPoint = e.getPoint();
Note: See TracChangeset for help on using the changeset viewer.