- Timestamp:
- 2013-08-02T15:36:03+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/MapView.java
r6070 r6100 16 16 import java.awt.event.MouseAdapter; 17 17 import java.awt.event.MouseEvent; 18 import java.awt.event.MouseMotionListener; 18 19 import java.awt.geom.Area; 19 20 import java.awt.geom.GeneralPath; … … 266 267 267 268 //store the last mouse action 268 this.addMouse Listener(new MouseAdapter() {269 this.addMouseMotionListener(new MouseMotionListener() { 269 270 @Override public void mouseDragged(MouseEvent e) { 270 271 mouseMoved(e); … … 273 274 lastMEvent = e; 274 275 } 276 }); 277 this.addMouseListener(new MouseAdapter() { 275 278 @Override 276 279 public void mousePressed(MouseEvent me) {
Note:
See TracChangeset
for help on using the changeset viewer.