Merge pull request +6173 from c9/tree

fix ctrl-dragging a file
pull/9/merge
Ruben Daniels 2015-02-12 10:54:21 -08:00
commit 68ca953019
1 zmienionych plików z 2 dodań i 2 usunięć

Wyświetl plik

@ -143,9 +143,9 @@ function DefaultHandlers(mouseHandler) {
editor.selection.toggleSelect(node); editor.selection.toggleSelect(node);
} }
} else if (ev.getAccelKey()) { } else if (ev.getAccelKey()) {
if (isMultiSelect && inSelection) if (inSelection && isMultiSelect)
this.delayedSelect = "toggle"; this.delayedSelect = "toggle";
else else if (!inSelection || isMultiSelect)
editor.selection.toggleSelect(node); editor.selection.toggleSelect(node);
} else if (ev.getShiftKey()) { } else if (ev.getShiftKey()) {
editor.selection.expandSelection(node); editor.selection.expandSelection(node);