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
c23af92b
Commit
c23af92b
authored
Mar 03, 2023
by
pythongosssss
Browse files
Redraw node on opt change
parent
e14b79c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
0 deletions
+2
-0
web/extensions/core/rerouteNode.js
web/extensions/core/rerouteNode.js
+1
-0
web/index.html
web/index.html
+1
-0
No files found.
web/extensions/core/rerouteNode.js
View file @
c23af92b
...
@@ -46,6 +46,7 @@ app.registerExtension({
...
@@ -46,6 +46,7 @@ app.registerExtension({
this
.
outputs
[
0
].
name
=
""
;
this
.
outputs
[
0
].
name
=
""
;
}
}
this
.
size
=
this
.
computeSize
();
this
.
size
=
this
.
computeSize
();
app
.
graph
.
setDirtyCanvas
(
true
);
},
},
},
},
{
{
...
...
web/index.html
View file @
c23af92b
...
@@ -7,6 +7,7 @@
...
@@ -7,6 +7,7 @@
<script
type=
"module"
>
<script
type=
"module"
>
import
"
/extensions/core/dynamicPrompts.js
"
;
import
"
/extensions/core/dynamicPrompts.js
"
;
import
"
/extensions/core/rerouteNode.js
"
;
import
{
app
}
from
"
/scripts/app.js
"
;
import
{
app
}
from
"
/scripts/app.js
"
;
await
app
.
setup
();
await
app
.
setup
();
...
...
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