Commit e65110fd authored by pythongosssss's avatar pythongosssss
Browse files

Fix dom widgets not being hidden

parent 9a7619b7
...@@ -177,6 +177,7 @@ LGraphCanvas.prototype.computeVisibleNodes = function () { ...@@ -177,6 +177,7 @@ LGraphCanvas.prototype.computeVisibleNodes = function () {
for (const w of node.widgets) { for (const w of node.widgets) {
if (w.element) { if (w.element) {
w.element.hidden = hidden; w.element.hidden = hidden;
w.element.style.display = hidden ? "none" : null;
if (hidden) { if (hidden) {
w.options.onHide?.(w); w.options.onHide?.(w);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment