Skip to content
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Put PR #386 in right file.
  • Loading branch information
comfyanonymous committed Dec 21, 2023
commit 8e6be3c8de42d4e8247e7483fdd9fac8b1d06872
3 changes: 3 additions & 0 deletions src/litegraph.js
Original file line number Diff line number Diff line change
Expand Up @@ -6085,6 +6085,9 @@ LGraphNode.prototype.executeAction = function(action)
//it wasn't clicked on the links boxes
if (!skip_action) {
var block_drag_node = false;
if(node && node.flags && node.flags.pinned) {
block_drag_node = true;
}
var pos = [e.canvasX - node.pos[0], e.canvasY - node.pos[1]];

//widgets
Expand Down