From dfbe08181d92311d99e822e89cf3bf9a3691cb06 Mon Sep 17 00:00:00 2001 From: hku Date: Wed, 14 Feb 2024 02:11:28 +0800 Subject: [PATCH] copy group to clipboard only when all nodes in the group are selected --- web/lib/litegraph.core.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/web/lib/litegraph.core.js b/web/lib/litegraph.core.js index 911e61b2..0846c7c3 100644 --- a/web/lib/litegraph.core.js +++ b/web/lib/litegraph.core.js @@ -7154,8 +7154,6 @@ LGraphNode.prototype.executeAction = function(action) index += 1; } - var _selected_groups = []; - for (var i = 0; i < selected_nodes_array.length; ++i) { var node = selected_nodes_array[i]; var cloned = node.clone();