We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd104e9 commit b5a4ce8Copy full SHA for b5a4ce8
1 file changed
build/litegraph.core.js
@@ -5831,7 +5831,7 @@ LGraphNode.prototype.executeAction = function(action)
5831
}
5832
5833
//left button mouse / single finger
5834
- if (e.which == 1 && !this.pointer_is_double && (!node || !node.flags || !node.flags.pinned))
+ if (e.which == 1 && !this.pointer_is_double)
5835
{
5836
if (e.ctrlKey)
5837
@@ -6018,6 +6018,11 @@ LGraphNode.prototype.executeAction = function(action)
6018
//it wasn't clicked on the links boxes
6019
if (!skip_action) {
6020
var block_drag_node = false;
6021
+
6022
+ if(node && node.flags && node.flags.pinned) {
6023
+ block_drag_node = true;
6024
+ }
6025
6026
var pos = [e.canvasX - node.pos[0], e.canvasY - node.pos[1]];
6027
6028
//widgets
0 commit comments