Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

fix: Fixing intermittent crashes with undefined graphs in the Firefox browser.

Dr.Lt.Dataf1062be622ea
diff --git a/web/scripts/app.js b/web/scripts/app.js
index 1a07d69bc..aadc7d3de 100644
--- a/web/scripts/app.js
+++ b/web/scripts/app.js
@@ -492,7 +492,7 @@ export class ComfyApp {
}
if (this.imgs && this.imgs.length) {
- const canvas = graph.list_of_graphcanvas[0];
+ const canvas = app.graph.list_of_graphcanvas[0];
const mouse = canvas.graph_mouse;
if (!canvas.pointer_is_down && this.pointerDown) {
if (mouse[0] === this.pointerDown.pos[0] && mouse[1] === this.pointerDown.pos[1]) {