From fda72d2b53785768adba460fbe6285072114e1c1 Mon Sep 17 00:00:00 2001 From: Nicholas O'Leary Date: Mon, 21 Oct 2013 23:22:56 +0100 Subject: [PATCH] Restrict Lasso select to current workspace --- public/red/ui/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/red/ui/view.js b/public/red/ui/view.js index 14f59def8..b27e2d597 100644 --- a/public/red/ui/view.js +++ b/public/red/ui/view.js @@ -218,7 +218,7 @@ RED.view = function() { clearSelection(); } 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); if (n.selected) { n.dirty = true;