1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Don't clear selection on ctrl-click

Fixes #373
This commit is contained in:
Nick O'Leary 2014-09-02 16:00:01 +01:00
parent 16048112c6
commit 8e78df09da

View File

@ -502,7 +502,7 @@ RED.view = (function() {
updateSelection();
lasso.remove();
lasso = null;
} else if (mouse_mode == RED.state.DEFAULT && mousedown_link == null) {
} else if (mouse_mode == RED.state.DEFAULT && mousedown_link == null && !d3.event.ctrlKey ) {
clearSelection();
updateSelection();
}