From e65110fd93a3f9e4c378e87b26a9fc6c5c68cc2d Mon Sep 17 00:00:00 2001 From: pythongosssss <125205205+pythongosssss@users.noreply.github.com> Date: Tue, 19 Dec 2023 20:22:01 +0000 Subject: [PATCH] Fix dom widgets not being hidden --- web/scripts/domWidget.js | 1 + 1 file changed, 1 insertion(+) diff --git a/web/scripts/domWidget.js b/web/scripts/domWidget.js index e919428a..bb4c892b 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); }