Fix dom widgets not being hidden

This commit is contained in:
pythongosssss 2023-12-19 20:22:01 +00:00
parent 066f11873e
commit e13a30c665

View File

@ -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);
}