From fba17fb00b590cca0210db7ea45c65bc40c640be Mon Sep 17 00:00:00 2001 From: Ian Sanders Date: Tue, 5 Dec 2023 16:17:06 +0000 Subject: [PATCH] Format --- src/hotkey.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/hotkey.ts b/src/hotkey.ts index ed0efac..cb35c23 100644 --- a/src/hotkey.ts +++ b/src/hotkey.ts @@ -47,7 +47,8 @@ export function eventToHotkeyString( } if (!modifierKeyNames.includes(key)) { - const nonOptionPlaneKey = hotkeyString.includes('Alt') && matchApplePlatform.test(platform) ? macosSymbolLayerKeys[key] ?? key : key + const nonOptionPlaneKey = + hotkeyString.includes('Alt') && matchApplePlatform.test(platform) ? macosSymbolLayerKeys[key] ?? key : key const syntheticKey = syntheticKeyNames[nonOptionPlaneKey] ?? nonOptionPlaneKey hotkeyString.push(syntheticKey) }