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
2ec6158e
"configs/datasets/vscode:/vscode.git/clone" did not exist on "a256753221ad2a33ec9750b31f6284b581c1e1fd"
Commit
2ec6158e
authored
Oct 22, 2023
by
comfyanonymous
Browse files
Call widget callback on value control to fix primitive node issue.
parent
8594c8be
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/scripts/widgets.js
web/scripts/widgets.js
+1
-0
No files found.
web/scripts/widgets.js
View file @
2ec6158e
...
@@ -84,6 +84,7 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
...
@@ -84,6 +84,7 @@ export function addValueControlWidget(node, targetWidget, defaultValue = "random
if
(
targetWidget
.
value
>
max
)
if
(
targetWidget
.
value
>
max
)
targetWidget
.
value
=
max
;
targetWidget
.
value
=
max
;
targetWidget
.
callback
(
targetWidget
.
value
);
}
}
}
}
return
valueControl
;
return
valueControl
;
...
...
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