handle arrow keys in global hotkey (#913)

This commit is contained in:
jeffvli
2025-05-06 15:19:34 -07:00
parent 41bdc1a7b7
commit 262203b62d
+4
View File
@@ -35,6 +35,10 @@ export const hotkeyToElectronAccelerator = (hotkey: string) => {
let accelerator = hotkey;
const replacements = {
arrowdown: 'Down',
arrowleft: 'Left',
arrowright: 'Right',
arrowup: 'Up',
mod: 'CmdOrCtrl',
numpad: 'num',
numpadadd: 'numadd',