mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-02 22:37:32 +00:00
[BugFix] Fix adding node via context menu (#682)
Resolves https://github.com/Comfy-Org/ComfyUI_frontend/issues/2814 Culprit: https://github.com/Comfy-Org/litegraph.js/pull/647
This commit is contained in:
@@ -827,7 +827,6 @@ export class LGraphCanvas implements ConnectionColorContext {
|
||||
const canvas = LGraphCanvas.active_canvas
|
||||
const ref_window = canvas.getCanvasWindow()
|
||||
const graph = canvas.graph
|
||||
if (!graph) return
|
||||
|
||||
inner_onMenuAdded("", prev_menu)
|
||||
return false
|
||||
|
||||
Reference in New Issue
Block a user