mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Restrict Lasso select to current workspace
This commit is contained in:
parent
ce4b5ee237
commit
fda72d2b53
@ -218,7 +218,7 @@ RED.view = function() {
|
|||||||
clearSelection();
|
clearSelection();
|
||||||
}
|
}
|
||||||
RED.nodes.eachNode(function(n) {
|
RED.nodes.eachNode(function(n) {
|
||||||
if (!n.selected) {
|
if (n.z == activeWorkspace && !n.selected) {
|
||||||
n.selected = (n.x > x && n.x < x2 && n.y > y && n.y < y2);
|
n.selected = (n.x > x && n.x < x2 && n.y > y && n.y < y2);
|
||||||
if (n.selected) {
|
if (n.selected) {
|
||||||
n.dirty = true;
|
n.dirty = true;
|
||||||
|
Loading…
Reference in New Issue
Block a user