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
5a608aa3
Commit
5a608aa3
authored
Oct 16, 2023
by
Jairo Correa
Browse files
Fix node getBounding for collapsed nodes
parent
7e09e889
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/lib/litegraph.core.js
web/lib/litegraph.core.js
+1
-1
No files found.
web/lib/litegraph.core.js
View file @
5a608aa3
...
...
@@ -3796,7 +3796,7 @@
out
=
out
||
new
Float32Array
(
4
);
out
[
0
]
=
this
.
pos
[
0
]
-
4
;
out
[
1
]
=
this
.
pos
[
1
]
-
LiteGraph
.
NODE_TITLE_HEIGHT
;
out
[
2
]
=
this
.
size
[
0
]
+
4
;
out
[
2
]
=
this
.
flags
.
collapsed
?
(
this
.
_collapsed_width
||
LiteGraph
.
NODE_COLLAPSED_WIDTH
)
:
this
.
size
[
0
]
+
4
;
out
[
3
]
=
this
.
flags
.
collapsed
?
LiteGraph
.
NODE_TITLE_HEIGHT
:
this
.
size
[
1
]
+
LiteGraph
.
NODE_TITLE_HEIGHT
;
if
(
this
.
onBounding
)
{
...
...
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