mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2025-01-25 15:55:18 +00:00
Fix hiding dom widgets.
This commit is contained in:
parent
257c2eaaa4
commit
392878a262
@ -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…
Reference in New Issue
Block a user