"examples/nas/oneshot/vscode:/vscode.git/clone" did not exist on "6af99c553d5d2b54ec6f5235890cf827fa0d1420"
Commit 01ec3db9 authored by pythongosssss's avatar pythongosssss
Browse files

Add ctrl+shift+enter for queue front

parent 255ff2d6
...@@ -402,7 +402,7 @@ class ComfyApp { ...@@ -402,7 +402,7 @@ class ComfyApp {
window.addEventListener("keydown", (e) => { window.addEventListener("keydown", (e) => {
// Queue prompt using ctrl or command + enter // Queue prompt using ctrl or command + enter
if ((e.ctrlKey || e.metaKey) && (e.key === "Enter" || e.keyCode === 13 || e.keyCode === 10)) { if ((e.ctrlKey || e.metaKey) && (e.key === "Enter" || e.keyCode === 13 || e.keyCode === 10)) {
this.queuePrompt(0); this.queuePrompt(e.shiftKey ? -1 : 0);
} }
}); });
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment