Alt-ctrl-click to do both pull-through and multiple selection
[potlatch2.git] / net / systemeD / potlatch2 / controller / SelectedWay.as
index d23c28df432f69f28ad5c5ed95290c9b62d1186b..05bae453abbcaad36429a9147876b5dc326c0e01 100644 (file)
@@ -58,7 +58,7 @@ package net.systemeD.potlatch2.controller {
                 var d:DragWayNode=new DragWayNode(firstSelected as Way, -1, event, true);
                                d.forceDragStart();
                                return d;
-                       } else if ( event.type == MouseEvent.MOUSE_DOWN && event.ctrlKey && entity && entity!=firstSelected) {
+                       } else if ( event.type == MouseEvent.MOUSE_DOWN && event.ctrlKey && !event.altKey && entity && entity!=firstSelected) {
                                // multiple selection
                                return new SelectedMultiple([firstSelected,entity],layer);
                        } else if ( event.type == MouseEvent.MOUSE_UP && focus==firstSelected ) {