1 parent
adb7578998
commit
9af98c2db2
14 files changed
+72
No files matched your search
@@ -154,6 +154,10 @@ export function isRefreshDataShortcut(event: ShortcutLikeEvent, shortcuts?: Part
|
||||
return matchesShortcut(event, actionShortcut("refreshData", shortcuts));
|
||||
}
|
||||
|
||||
export function isToggleResultsPaneShortcut(event: ShortcutLikeEvent, shortcuts?: Partial<ShortcutSettings>): boolean {
|
||||
return matchesShortcut(event, actionShortcut("toggleResultsPane", shortcuts));
|
||||
}
|
||||
|
||||
export function isModRShortcut(event: ShortcutLikeEvent): boolean {
|
||||
return matchesShortcut(event, "Mod+R");
|
||||
}
|
||||
|
||||
@@ -56,6 +56,7 @@ export type ShortcutActionId =
|
||||
| "find"
|
||||
| "replace"
|
||||
| "refreshData"
|
||||
| "toggleResultsPane"
|
||||
| "toggleTranspose"
|
||||
| "cancelSearch"
|
||||
| "toggleSidebar"
|
||||
@@ -435,6 +436,12 @@ export const SHORTCUT_DEFINITIONS: ShortcutDefinition[] = [
|
||||
scope: "global",
|
||||
defaultShortcut: "F5",
|
||||
},
|
||||
{
|
||||
id: "toggleResultsPane",
|
||||
labelKey: "settings.shortcutToggleResultsPane",
|
||||
scope: "global",
|
||||
defaultShortcut: "",
|
||||
},
|
||||
{
|
||||
id: "toggleTranspose",
|
||||
labelKey: "settings.shortcutToggleTranspose",
|
||||
|
||||
Reference in new issue
Block a user