don't screw up group because pinned feature

This commit is contained in:
Dr.Lt.Data
2023-05-12 16:46:14 +09:00
parent 67fc5d79c5
commit fd104e91d5

View File

@@ -5831,7 +5831,7 @@ LGraphNode.prototype.executeAction = function(action)
}
//left button mouse / single finger
if (e.which == 1 && !this.pointer_is_double && !node.flags.pinned)
if (e.which == 1 && !this.pointer_is_double && (!node || !node.flags || !node.flags.pinned))
{
if (e.ctrlKey)
{