Alt-ctrl-click to do both pull-through and multiple selection
[potlatch2.git] / net / systemeD / potlatch2 / controller / SelectedPOINode.as
index b3279501b6e09cf4ac9a99cd131e766c81f02218..8ffbf31cc4d9e0a35ff273411be53d057b81c46a 100644 (file)
@@ -37,7 +37,7 @@ package net.systemeD.potlatch2.controller {
                        if (event.type==MouseEvent.MOUSE_MOVE) { return this; }
                        var paint:MapPaint = getMapPaint(DisplayObject(event.target));
 
-                       if (event.type==MouseEvent.MOUSE_DOWN && event.ctrlKey && entity && entity!=firstSelected && paint==layer) {
+                       if (event.type==MouseEvent.MOUSE_DOWN && event.ctrlKey && !event.altKey && entity && entity!=firstSelected && paint==layer) {
                                return new SelectedMultiple([firstSelected,entity],layer);
                        } else if (event.type==MouseEvent.MOUSE_DOWN && event.shiftKey && !entity && !layer.isBackground) {
                                return new DrawQuadrilateral(firstSelected as Node);