Browse Source

Fix hiding dom widgets.

pull/2377/head
shiimizu 11 months ago
parent
commit
392878a262
  1. 2
      web/scripts/domWidget.js

2
web/scripts/domWidget.js

@ -177,7 +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;
w.element.style.display = hidden ? "none" : undefined;
if (hidden) {
w.options.onHide?.(w);
}

Loading…
Cancel
Save