mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Ctrl-Shift-Click on node should add to existing selection
This commit is contained in:
parent
bef641609e
commit
cb3fcb7bfa
@ -3246,7 +3246,9 @@ RED.view = (function() {
|
|||||||
// }
|
// }
|
||||||
// } else
|
// } else
|
||||||
if (d3.event.shiftKey) {
|
if (d3.event.shiftKey) {
|
||||||
clearSelection();
|
if (!(d3.event.ctrlKey||d3.event.metaKey)) {
|
||||||
|
clearSelection();
|
||||||
|
}
|
||||||
var clickPosition = (d3.event.offsetX/scaleFactor - mousedown_node.x)
|
var clickPosition = (d3.event.offsetX/scaleFactor - mousedown_node.x)
|
||||||
var edgeDelta = (mousedown_node.w/2) - Math.abs(clickPosition);
|
var edgeDelta = (mousedown_node.w/2) - Math.abs(clickPosition);
|
||||||
var cnodes;
|
var cnodes;
|
||||||
|
Loading…
Reference in New Issue
Block a user