diff --git a/lock-nodes-and-groups/locking.js b/lock-nodes-and-groups/locking.js index b32094d..707221f 100644 --- a/lock-nodes-and-groups/locking.js +++ b/lock-nodes-and-groups/locking.js @@ -60,7 +60,7 @@ app.registerExtension({ const getGroupOnPos = LGraph.prototype.getGroupOnPos; LGraph.prototype.getGroupOnPos = function () { const r = getGroupOnPos.apply(this, arguments); - if (r && r[LOCKED]) return null; + if (r && r[LOCKED] && !(new Error()).stack.includes("processContextMenu")) return null; return r; };