mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-07 16:40:05 +00:00
close menu when click on canvas fix
This commit is contained in:
@@ -2681,6 +2681,8 @@ LGraphCanvas.prototype.processMouseDown = function(e)
|
||||
|
||||
var n = this.graph.getNodeOnPos( e.canvasX, e.canvasY, this.visible_nodes );
|
||||
var skip_dragging = false;
|
||||
|
||||
LiteGraph.closeAllContextualMenus();
|
||||
|
||||
if(e.which == 1) //left button mouse
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user