mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-29 10:42:44 +00:00
Put PR #386 in right file.
This commit is contained in:
@@ -6085,6 +6085,9 @@ LGraphNode.prototype.executeAction = function(action)
|
|||||||
//it wasn't clicked on the links boxes
|
//it wasn't clicked on the links boxes
|
||||||
if (!skip_action) {
|
if (!skip_action) {
|
||||||
var block_drag_node = false;
|
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]];
|
var pos = [e.canvasX - node.pos[0], e.canvasY - node.pos[1]];
|
||||||
|
|
||||||
//widgets
|
//widgets
|
||||||
|
|||||||
Reference in New Issue
Block a user