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
8cfce083
Commit
8cfce083
authored
Oct 21, 2023
by
comfyanonymous
Browse files
Fix primitive node control value not getting loaded.
parent
a0690f9d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+5
-1
No files found.
web/extensions/core/widgetInputs.js
View file @
8cfce083
...
@@ -463,7 +463,11 @@ app.registerExtension({
...
@@ -463,7 +463,11 @@ app.registerExtension({
}
}
if
(
widget
.
type
===
"
number
"
||
widget
.
type
===
"
combo
"
)
{
if
(
widget
.
type
===
"
number
"
||
widget
.
type
===
"
combo
"
)
{
addValueControlWidget
(
this
,
widget
,
"
fixed
"
);
let
control_value
=
this
.
widgets_values
?.[
1
];
if
(
!
control_value
)
{
control_value
=
"
fixed
"
;
}
addValueControlWidget
(
this
,
widget
,
control_value
);
}
}
// When our value changes, update other widgets to reflect our changes
// When our value changes, update other widgets to reflect our changes
...
...
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