"docs/source/ko/using-diffusers/inpaint.md" did not exist on "f4bbcb29c06f090edb4232a4aa389ac81ad51158"
Commit 392878a2 authored by shiimizu's avatar shiimizu
Browse files

Fix hiding dom widgets.

parent 257c2eaa
...@@ -177,7 +177,7 @@ LGraphCanvas.prototype.computeVisibleNodes = function () { ...@@ -177,7 +177,7 @@ LGraphCanvas.prototype.computeVisibleNodes = function () {
for (const w of node.widgets) { for (const w of node.widgets) {
if (w.element) { if (w.element) {
w.element.hidden = hidden; w.element.hidden = hidden;
w.element.style.display = hidden ? "none" : null; w.element.style.display = hidden ? "none" : undefined;
if (hidden) { if (hidden) {
w.options.onHide?.(w); w.options.onHide?.(w);
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment