mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-08-17 12:16:36 +08:00
Fix hiding dom widgets.
This commit is contained in:
parent
00ec9b03ae
commit
1c6b539236
@ -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…
x
Reference in New Issue
Block a user