Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
e65110fd
Commit
e65110fd
authored
Dec 19, 2023
by
pythongosssss
Browse files
Fix dom widgets not being hidden
parent
9a7619b7
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/scripts/domWidget.js
web/scripts/domWidget.js
+1
-0
No files found.
web/scripts/domWidget.js
View file @
e65110fd
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment