Add toggle command for each sidebar tab registered (#1108)

* Add toggle command for each sidebar tab registered

* nit
This commit is contained in:
Chenlei Hu
2024-10-04 20:22:10 -04:00
committed by GitHub
parent 18476d28dc
commit b30d285025
3 changed files with 27 additions and 16 deletions

View File

@@ -34,13 +34,25 @@ export const CORE_KEYBINDINGS: Keybinding[] = [
combo: {
key: 'q'
},
commandId: 'Comfy.ToggleQueueSidebarTab'
commandId: 'Workspace.ToggleSidebarTab.queue'
},
{
combo: {
key: 'h'
key: 'w'
},
commandId: 'Comfy.ToggleQueueSidebarTab'
commandId: 'Workspace.ToggleSidebarTab.workflows'
},
{
combo: {
key: 'n'
},
commandId: 'Workspace.ToggleSidebarTab.node-library'
},
{
combo: {
key: 'm'
},
commandId: 'Workspace.ToggleSidebarTab.model-library'
},
{
combo: {