mirror of
https://github.com/invoke-ai/InvokeAI.git
synced 2026-02-18 11:53:04 -05:00
fix(ui): fix up hotkeys
- Add Shift+X back (this has been missing for a long time) - Add secondary toggle options hotkey
This commit is contained in:
@@ -68,6 +68,11 @@ const HotkeysModal = ({ children }: HotkeysModalProps) => {
|
||||
desc: t('hotkeys.cancel.desc'),
|
||||
hotkey: 'Shift+X',
|
||||
},
|
||||
{
|
||||
title: t('hotkeys.cancelAndClear.title'),
|
||||
desc: t('hotkeys.cancelAndClear.desc'),
|
||||
hotkey: 'Shift+Ctrl+X / Shift+Cmd+X',
|
||||
},
|
||||
{
|
||||
title: t('hotkeys.focusPrompt.title'),
|
||||
desc: t('hotkeys.focusPrompt.desc'),
|
||||
@@ -76,7 +81,7 @@ const HotkeysModal = ({ children }: HotkeysModalProps) => {
|
||||
{
|
||||
title: t('hotkeys.toggleOptions.title'),
|
||||
desc: t('hotkeys.toggleOptions.desc'),
|
||||
hotkey: 'O',
|
||||
hotkey: 'T / O',
|
||||
},
|
||||
{
|
||||
title: t('hotkeys.toggleGallery.title'),
|
||||
|
||||
@@ -207,7 +207,7 @@ const InvokeTabs = () => {
|
||||
} = usePanel(galleryPanelUsePanelOptions);
|
||||
|
||||
useHotkeys('g', toggleGalleryPanel, []);
|
||||
useHotkeys('t', toggleOptionsPanel, []);
|
||||
useHotkeys(['t', 'o'], toggleOptionsPanel, []);
|
||||
useHotkeys(
|
||||
'f',
|
||||
() => {
|
||||
|
||||
Reference in New Issue
Block a user