Changeset 6993 in josm
- Timestamp:
- 2014-04-22T09:40:38+02:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/actions/mapmode/SelectAction.java
r6992 r6993 65 65 * If no object is under the mouse, move all selected objects (if any) 66 66 * 67 * @author imi 67 * On Mac OS, Ctrl + mouse button 1 simulates right click (map move), so the 68 * feature "selection remove" is disabled on this platform. 68 69 */ 69 70 public class SelectAction extends MapMode implements AWTEventListener, SelectionEnded { … … 337 338 c = "lasso"; 338 339 } else { 339 c = "rect" + (shift ? "_add" : (ctrl ? "_rm" : ""));340 c = "rect" + (shift ? "_add" : (ctrl && !Main.isPlatformOsx() ? "_rm" : "")); 340 341 } 341 342 break; … … 457 458 case select: 458 459 default: 459 // start working with rectangle or lasso 460 selectionManager.register(mv, lassoMode); 461 selectionManager.mousePressed(e); 462 break; 460 if (!(ctrl && Main.isPlatformOsx())) { 461 // start working with rectangle or lasso 462 selectionManager.register(mv, lassoMode); 463 selectionManager.mousePressed(e); 464 break; 465 } 463 466 } 464 467 if (giveUserFeedback(e)) {
Note:
See TracChangeset
for help on using the changeset viewer.