Ctrl-Shift-Click on node should add to existing selection

pull/3323/head
Nick O'Leary 2022-01-03 23:29:42 +00:00
parent bef641609e
commit cb3fcb7bfa
No known key found for this signature in database
GPG Key ID: 4F2157149161A6C9
1 changed files with 3 additions and 1 deletions

View File

@ -3246,7 +3246,9 @@ RED.view = (function() {
// }
// } else
if (d3.event.shiftKey) {
if (!(d3.event.ctrlKey||d3.event.metaKey)) {
clearSelection();
}
var clickPosition = (d3.event.offsetX/scaleFactor - mousedown_node.x)
var edgeDelta = (mousedown_node.w/2) - Math.abs(clickPosition);
var cnodes;