Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
iansan5653 authored Dec 5, 2023
1 parent acaaa12 commit fba17fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit fba17fb

Please sign in to comment.