mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-06 08:00:05 +00:00
Fix queue/history keybinding (#419)
This commit is contained in:
@@ -10,7 +10,7 @@ app.registerExtension({
|
||||
// Queue prompt using (ctrl or command) + enter
|
||||
if (modifierPressed && event.key === 'Enter') {
|
||||
// Cancel current prompt using (ctrl or command) + alt + enter
|
||||
if(event.altKey) {
|
||||
if (event.altKey) {
|
||||
api.interrupt()
|
||||
return
|
||||
}
|
||||
@@ -63,8 +63,8 @@ app.registerExtension({
|
||||
}
|
||||
|
||||
const keyIdMap = {
|
||||
q: '#comfy-view-queue-button',
|
||||
h: '#comfy-view-history-button',
|
||||
q: '.queue-tab-button.side-bar-button',
|
||||
h: '.queue-tab-button.side-bar-button',
|
||||
r: '#comfy-refresh-button'
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user