Comfy-Org / Comfy-Org/ComfyUI_frontend

[Keybinding] Add condition to keybinding

Open
#1,089 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.