mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-03 14:54:37 +00:00
fix onDblClick error (use this instead)
This commit is contained in:
@@ -4092,7 +4092,7 @@ LGraphCanvas.prototype.processMouseDown = function(e)
|
||||
{
|
||||
//double click node
|
||||
if( node.onDblClick)
|
||||
node.onDblClick(e,[e.canvasX - node.pos[0], e.canvasY - node.pos[1]],graphcanvas);
|
||||
node.onDblClick(e,[e.canvasX - node.pos[0], e.canvasY - node.pos[1]], this);
|
||||
this.processNodeDblClicked( node );
|
||||
block_drag_node = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user