File tree Expand file tree Collapse file tree 2 files changed +6
-15
lines changed
src/features/system/components/HotkeysModal Expand file tree Collapse file tree 2 files changed +6
-15
lines changed Original file line number Diff line number Diff line change 589
589
"desc" : " Upscale the current image" ,
590
590
"title" : " Upscale"
591
591
},
592
- "backToEditor" : {
593
- "desc" : " Closes the Image Viewer and shows the Editor View (Text to Image tab only)" ,
594
- "title" : " Back to Editor"
595
- },
596
- "openImageViewer" : {
597
- "desc" : " Opens the Image Viewer (Text to Image tab only)" ,
598
- "title" : " Open Image Viewer"
592
+ "toggleViewer" : {
593
+ "desc" : " Switches between the Image Viewer and workspace for the current tab." ,
594
+ "title" : " Toggle Image Viewer"
599
595
}
600
596
},
601
597
"metadata" : {
Original file line number Diff line number Diff line change @@ -141,14 +141,9 @@ export const useHotkeyData = (): HotkeyGroup[] => {
141
141
hotkeys : [ [ 'Arrow Right' ] ] ,
142
142
} ,
143
143
{
144
- title : t ( 'hotkeys.openImageViewer.title' ) ,
145
- desc : t ( 'hotkeys.openImageViewer.desc' ) ,
146
- hotkeys : [ [ 'I' ] ] ,
147
- } ,
148
- {
149
- title : t ( 'hotkeys.backToEditor.title' ) ,
150
- desc : t ( 'hotkeys.backToEditor.desc' ) ,
151
- hotkeys : [ [ 'Esc' ] ] ,
144
+ title : t ( 'hotkeys.toggleViewer.title' ) ,
145
+ desc : t ( 'hotkeys.toggleViewer.desc' ) ,
146
+ hotkeys : [ [ 'Z' ] ] ,
152
147
} ,
153
148
] ,
154
149
} ) ,
You can’t perform that action at this time.
0 commit comments