mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
fix(ui): update hotkeys for viewer
This commit is contained in:
parent
e4a640f0a7
commit
26847895b9
@ -589,13 +589,9 @@
|
|||||||
"desc": "Upscale the current image",
|
"desc": "Upscale the current image",
|
||||||
"title": "Upscale"
|
"title": "Upscale"
|
||||||
},
|
},
|
||||||
"backToEditor": {
|
"toggleViewer": {
|
||||||
"desc": "Closes the Image Viewer and shows the Editor View (Text to Image tab only)",
|
"desc": "Switches between the Image Viewer and workspace for the current tab.",
|
||||||
"title": "Back to Editor"
|
"title": "Toggle Image Viewer"
|
||||||
},
|
|
||||||
"openImageViewer": {
|
|
||||||
"desc": "Opens the Image Viewer (Text to Image tab only)",
|
|
||||||
"title": "Open Image Viewer"
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"metadata": {
|
"metadata": {
|
||||||
|
@ -141,14 +141,9 @@ export const useHotkeyData = (): HotkeyGroup[] => {
|
|||||||
hotkeys: [['Arrow Right']],
|
hotkeys: [['Arrow Right']],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: t('hotkeys.openImageViewer.title'),
|
title: t('hotkeys.toggleViewer.title'),
|
||||||
desc: t('hotkeys.openImageViewer.desc'),
|
desc: t('hotkeys.toggleViewer.desc'),
|
||||||
hotkeys: [['I']],
|
hotkeys: [['Z']],
|
||||||
},
|
|
||||||
{
|
|
||||||
title: t('hotkeys.backToEditor.title'),
|
|
||||||
desc: t('hotkeys.backToEditor.desc'),
|
|
||||||
hotkeys: [['Esc']],
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}),
|
}),
|
||||||
|
Loading…
Reference in New Issue
Block a user