mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-03-10 15:40:24 +00:00
Manage app.ts litegraph keybindings (#1151)
* Manage app.ts litegraph keybindings * nit
This commit is contained in:
@@ -30,7 +30,7 @@ app.registerExtension({
|
||||
const keybindingStore = useKeybindingStore()
|
||||
const commandStore = useCommandStore()
|
||||
const keybinding = keybindingStore.getKeybinding(keyCombo)
|
||||
if (keybinding) {
|
||||
if (keybinding && keybinding.targetSelector !== '#graph-canvas') {
|
||||
await commandStore.execute(keybinding.commandId)
|
||||
event.preventDefault()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user