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
5b828258
Commit
5b828258
authored
Oct 06, 2023
by
comfyanonymous
Browse files
Merge branch 'widget-input-updates' of
https://github.com/pythongosssss/ComfyUI
parents
0134d7ab
d761eaa4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
web/scripts/app.js
web/scripts/app.js
+2
-1
No files found.
web/scripts/app.js
View file @
5b828258
...
...
@@ -1306,7 +1306,8 @@ export class ComfyApp {
}
for
(
const
o
in
nodeData
[
"
output
"
])
{
const
output
=
nodeData
[
"
output
"
][
o
];
let
output
=
nodeData
[
"
output
"
][
o
];
if
(
output
instanceof
Array
)
output
=
"
COMBO
"
;
const
outputName
=
nodeData
[
"
output_name
"
][
o
]
||
output
;
const
outputShape
=
nodeData
[
"
output_is_list
"
][
o
]
?
LiteGraph
.
GRID_SHAPE
:
LiteGraph
.
CIRCLE_SHAPE
;
this
.
addOutput
(
outputName
,
output
,
{
shape
:
outputShape
});
...
...
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