Comfy-Org / Comfy-Org/ComfyUI_frontend
[Keybinding] Add condition to keybinding
Open
enhancement
- Dominant language
- TypeScript
- Stars
- 2k
- Forks
- 699
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 490
Description
Related PR: https://github.com/Comfy-Org/ComfyUI_frontend/pull/1081
Currently we already have keybindings that are global and that are only triggered when litegraph canvas is focused. Later when we add more views to the UI, there will be a need to trigger different subset of keybindings based on the workspace state, e.g. which view is focused.
Contributor guide
Assessment
This issue has not been assessed yet.