Changeset 6100 in josm for trunk


Ignore:
Timestamp:
2013-08-02T15:36:03+02:00 (11 years ago)
Author:
bastiK
Message:

fixed - #8903 Unglueing tagged node moves it to viewport corner (patch by AlfonZ)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/MapView.java

    r6070 r6100  
    1616import java.awt.event.MouseAdapter;
    1717import java.awt.event.MouseEvent;
     18import java.awt.event.MouseMotionListener;
    1819import java.awt.geom.Area;
    1920import java.awt.geom.GeneralPath;
     
    266267
    267268        //store the last mouse action
    268         this.addMouseListener(new MouseAdapter() {
     269        this.addMouseMotionListener(new MouseMotionListener() {
    269270            @Override public void mouseDragged(MouseEvent e) {
    270271                mouseMoved(e);
     
    273274                lastMEvent = e;
    274275            }
     276        });
     277        this.addMouseListener(new MouseAdapter() {
    275278            @Override
    276279            public void mousePressed(MouseEvent me) {
Note: See TracChangeset for help on using the changeset viewer.