mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-21 23:48:27 +08:00
fix(win): fix alt-based worker window keyboard shortcut
This commit is contained in:
parent
ca2fa9e1da
commit
20f9e7b3a1
1 changed files with 5 additions and 1 deletions
|
@ -109,9 +109,13 @@ class ApplicationMenu
|
|||
return unless windowMenu
|
||||
idx = _.findIndex(windowMenu.submenu, ({id}) -> id is 'window-list-separator')
|
||||
|
||||
workShortcut = "CmdOrCtrl+alt+w"
|
||||
if process.platform is "win32"
|
||||
workShortcut = "ctrl+shift+f10"
|
||||
|
||||
accelerators = {
|
||||
'default': 'CmdOrCtrl+0',
|
||||
'work': 'CmdOrCtrl+alt+w',
|
||||
'work': workShortcut,
|
||||
}
|
||||
windows = global.application.windowManager.getOpenWindows()
|
||||
windowsItems = windows.map (w) => {
|
||||
|
|
Loading…
Reference in a new issue