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
1fa9ccaa
Commit
1fa9ccaa
authored
Mar 24, 2023
by
pythongosssss
Browse files
Set title to widget name
parent
97198f5b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
web/extensions/core/widgetInputs.js
web/extensions/core/widgetInputs.js
+1
-0
No files found.
web/extensions/core/widgetInputs.js
View file @
1fa9ccaa
...
...
@@ -149,6 +149,7 @@ app.registerExtension({
app
.
graph
.
add
(
node
);
node
.
pos
=
[
this
.
pos
[
0
]
-
node
.
size
[
0
]
-
30
,
this
.
pos
[
1
]];
node
.
connect
(
0
,
this
,
slot
);
node
.
title
=
this
.
inputs
[
slot
].
name
;
}
return
r
;
...
...
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