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 dom widgets not being hidden

pythongossssse65110fd93a3
diff --git a/web/scripts/domWidget.js b/web/scripts/domWidget.js
index e919428a0..bb4c892b5 100644
--- a/web/scripts/domWidget.js
+++ b/web/scripts/domWidget.js
@@ -177,6 +177,7 @@ LGraphCanvas.prototype.computeVisibleNodes = function () {
for (const w of node.widgets) {
if (w.element) {
w.element.hidden = hidden;
+ w.element.style.display = hidden ? "none" : null;
if (hidden) {
w.options.onHide?.(w);
}