mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +02:00
handle arrow keys in global hotkey (#913)
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user