Fix the distance between the low-resolution lower panel and the exercise center and add a shortcut key to toggle the panel

This commit is contained in:
zyronon
2023-11-09 01:31:05 +08:00
parent 47b855d83f
commit ed032ef5b6
4 changed files with 28 additions and 3 deletions

View File

@@ -171,7 +171,7 @@ export const SaveDict = {
}
export const SaveConfig = {
key: 'typing-word-config',
version: 7
version: 8
}
export enum ShortcutKey {
@@ -193,6 +193,7 @@ export enum ShortcutKey {
OpenDictDetail = 'OpenDictDetail',
ToggleTheme = 'ToggleTheme',
ToggleConciseMode = 'ToggleConciseMode',
TogglePanel = 'TogglePanel'
}
export const DefaultShortcutKeyMap = {
@@ -214,6 +215,7 @@ export const DefaultShortcutKeyMap = {
[ShortcutKey.ToggleTheme]: 'Ctrl+Q',
[ShortcutKey.OpenDictDetail]: 'Ctrl+J',
[ShortcutKey.ToggleConciseMode]: 'Ctrl+M',
[ShortcutKey.TogglePanel]: 'Ctrl+L',
}