Skip to content

Commit ac744fb

Browse files
authored
Merge pull request #2435 from jacobherrington/handle-opt-in-hotkeys
Allow abbreviation for Option in hotkeys
2 parents 10a1104 + da1bd3f commit ac744fb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

browser/main/lib/ConfigManager.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,7 @@ function rewriteHotkey (config) {
195195
const keys = [...Object.keys(config.hotkey)]
196196
keys.forEach(key => {
197197
config.hotkey[key] = config.hotkey[key].replace(/Cmd/g, 'Command')
198+
config.hotkey[key] = config.hotkey[key].replace(/Opt/g, 'Alt')
198199
})
199200
return config
200201
}

0 commit comments

Comments
 (0)