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
01ec3db9
Commit
01ec3db9
authored
Mar 14, 2023
by
pythongosssss
Browse files
Add ctrl+shift+enter for queue front
parent
255ff2d6
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 @
01ec3db9
...
...
@@ -402,7 +402,7 @@ class ComfyApp {
window
.
addEventListener
(
"
keydown
"
,
(
e
)
=>
{
// Queue prompt using ctrl or command + enter
if
((
e
.
ctrlKey
||
e
.
metaKey
)
&&
(
e
.
key
===
"
Enter
"
||
e
.
keyCode
===
13
||
e
.
keyCode
===
10
))
{
this
.
queuePrompt
(
0
);
this
.
queuePrompt
(
e
.
shiftKey
?
-
1
:
0
);
}
});
}
...
...
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