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
6a120943
Commit
6a120943
authored
May 16, 2023
by
comfyanonymous
Browse files
Merge branch 'patch/touch' of
https://github.com/ltdrdata/ComfyUI
parents
11e7168d
7ada9e7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
web/scripts/app.js
web/scripts/app.js
+3
-1
No files found.
web/scripts/app.js
View file @
6a120943
...
...
@@ -902,7 +902,9 @@ export class ComfyApp {
await
this
.
#
loadExtensions
();
// Create and mount the LiteGraph in the DOM
const
canvasEl
=
(
this
.
canvasEl
=
Object
.
assign
(
document
.
createElement
(
"
canvas
"
),
{
id
:
"
graph-canvas
"
}));
const
mainCanvas
=
document
.
createElement
(
"
canvas
"
)
mainCanvas
.
style
.
touchAction
=
"
none
"
const
canvasEl
=
(
this
.
canvasEl
=
Object
.
assign
(
mainCanvas
,
{
id
:
"
graph-canvas
"
}));
canvasEl
.
tabIndex
=
"
1
"
;
document
.
body
.
prepend
(
canvasEl
);
...
...
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