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
f1062be6
Commit
f1062be6
authored
Oct 20, 2023
by
Dr.Lt.Data
Browse files
fix: Fixing intermittent crashes with undefined graphs in the Firefox browser.
parent
e6962120
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
web/scripts/app.js
web/scripts/app.js
+1
-1
No files found.
web/scripts/app.js
View file @
f1062be6
...
@@ -492,7 +492,7 @@ export class ComfyApp {
...
@@ -492,7 +492,7 @@ export class ComfyApp {
}
}
if
(
this
.
imgs
&&
this
.
imgs
.
length
)
{
if
(
this
.
imgs
&&
this
.
imgs
.
length
)
{
const
canvas
=
graph
.
list_of_graphcanvas
[
0
];
const
canvas
=
app
.
graph
.
list_of_graphcanvas
[
0
];
const
mouse
=
canvas
.
graph_mouse
;
const
mouse
=
canvas
.
graph_mouse
;
if
(
!
canvas
.
pointer_is_down
&&
this
.
pointerDown
)
{
if
(
!
canvas
.
pointer_is_down
&&
this
.
pointerDown
)
{
if
(
mouse
[
0
]
===
this
.
pointerDown
.
pos
[
0
]
&&
mouse
[
1
]
===
this
.
pointerDown
.
pos
[
1
])
{
if
(
mouse
[
0
]
===
this
.
pointerDown
.
pos
[
0
]
&&
mouse
[
1
]
===
this
.
pointerDown
.
pos
[
1
])
{
...
...
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