Fix dom widgets not being hidden
This commit is contained in:
parent
9a7619b72d
commit
e65110fd93
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue