- Timestamp:
- 2013-02-20T21:00:39+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r5653 r5734 45 45 import org.openstreetmap.josm.gui.MapFrame; 46 46 import org.openstreetmap.josm.gui.MapView; 47 import org.openstreetmap.josm.gui.NavigatableComponent; 47 48 import org.openstreetmap.josm.gui.SelectionManager; 48 49 import org.openstreetmap.josm.gui.SelectionManager.SelectionEnded; … … 437 438 } 438 439 OsmPrimitive toSelect = cycleManager.cycleSetup(nearestPrimitive, e.getPoint()); 439 selectPrims( mv.asColl(toSelect), false, false);440 selectPrims(NavigatableComponent.asColl(toSelect), false, false); 440 441 useLastMoveCommandIfPossible(); 441 442 break; … … 573 574 if (getCurrentDataSet().getSelected().isEmpty() && !cancelDrawMode) { 574 575 Main.map.selectDrawTool(true); 576 updateStatusLine(); 575 577 return; 576 578 } … … 851 853 @Override 852 854 public String getModeHelpText() { 853 if (mode == Mode.select )855 if (mode == Mode.select && mouseDownButton == MouseEvent.BUTTON1 && mouseReleaseTime < mouseDownTime) 854 856 return tr("Release the mouse button to select the objects in the rectangle."); 855 857 else if (mode == Mode.move) { … … 870 872 } 871 873 874 /** 875 * Enable or diable the lasso mode 876 * @param lassoMode true to enable the lasso mode, false otherwise 877 */ 872 878 public void setLassoMode(boolean lassoMode) { 873 879 this.selectionManager.setLassoMode(lassoMode);
Note:
See TracChangeset
for help on using the changeset viewer.