Changeset 7144 in josm for trunk/src/org
- Timestamp:
- 2014-05-19T17:27:56+02:00 (10 years ago)
- Location:
- trunk/src/org/openstreetmap/josm
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/gui/SelectionManager.java
r7005 r7144 15 15 import java.util.LinkedList; 16 16 17 import org.openstreetmap.josm.Main; 18 import org.openstreetmap.josm.actions.SelectByInternalAction; 17 19 import org.openstreetmap.josm.data.osm.Node; 18 20 import org.openstreetmap.josm.data.osm.OsmPrimitive; … … 149 151 @Override 150 152 public void mousePressed(MouseEvent e) { 151 if (e.getButton() == MouseEvent.BUTTON1) { 153 if (e.getButton() == MouseEvent.BUTTON1 && e.getClickCount() > 1) { 154 SelectByInternalAction.performSelection(Main.map.mapView.getEastNorth(e.getX(), e.getY()), 155 (e.getModifiersEx() & MouseEvent.SHIFT_DOWN_MASK) > 0, 156 (e.getModifiersEx() & MouseEvent.CTRL_DOWN_MASK) > 0); 157 } else if (e.getButton() == MouseEvent.BUTTON1) { 152 158 mousePosStart = mousePos = e.getPoint(); 153 159
Note:
See TracChangeset
for help on using the changeset viewer.