Skip to content

Commit

Permalink
add a hotkey for settings
Browse files Browse the repository at this point in the history
for #942
  • Loading branch information
mcmonkey4eva committed Sep 26, 2024
1 parent 05f9999 commit 8b23172
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/components/sidebar/SidebarSettingsToggleIcon.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<template>
<SidebarIcon
icon="pi pi-cog"
class="settings-icon-button"
@click="showSetting"
:tooltip="$t('settings')"
/>
Expand Down
3 changes: 2 additions & 1 deletion src/extensions/core/keybinds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ app.registerExtension({
o: '#comfy-file-input',
Backspace: '#comfy-clear-button',
d: '#comfy-load-default-button',
g: '#comfy-group-selected-nodes-button'
g: '#comfy-group-selected-nodes-button',
',': '.settings-icon-button'
}

const modifierKeybindId = modifierKeyIdMap[event.key]
Expand Down

0 comments on commit 8b23172

Please sign in to comment.