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) }