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 node getBounding for collapsed nodes
Jairo Correa5a608aa37c31
diff --git a/web/lib/litegraph.core.js b/web/lib/litegraph.core.jsindex f81c83a8a..e906590f5 100644--- a/web/lib/litegraph.core.js+++ b/web/lib/litegraph.core.js@@ -3796,7 +3796,7 @@out = out || new Float32Array(4);out[0] = this.pos[0] - 4;out[1] = this.pos[1] - LiteGraph.NODE_TITLE_HEIGHT;- out[2] = this.size[0] + 4;+ out[2] = this.flags.collapsed ? (this._collapsed_width || LiteGraph.NODE_COLLAPSED_WIDTH) : this.size[0] + 4;out[3] = this.flags.collapsed ? LiteGraph.NODE_TITLE_HEIGHT : this.size[1] + LiteGraph.NODE_TITLE_HEIGHT;if (this.onBounding) {