ComfyUI_frontend icon indicating copy to clipboard operation
ComfyUI_frontend copied to clipboard

[Keybinding] Add condition to keybinding

Open huchenlei opened this issue 1 year ago • 0 comments

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.

huchenlei avatar Oct 03 '24 21:10 huchenlei