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

fix selection of link node not existing within active workspace

This commit is contained in:
Hiroyasu Nishiyama 2020-10-12 20:16:21 +09:00
parent eb2e1c0c45
commit 9bfe8ac007

View File

@ -1892,7 +1892,8 @@ RED.view = (function() {
activeLinkNodes = {};
for (var i=0;i<movingSet.length();i++) {
var msn = movingSet.get(i);
if (msn.n.type === "link out" || msn.n.type === "link in") {
if ((msn.n.type === "link out" || msn.n.type === "link in") &&
(msn.n.z === activeWorkspace)) {
var linkNode = msn.n;
activeLinkNodes[linkNode.id] = linkNode;
var offFlowLinks = {};