fix Shortcut conflict #279

pull/285/head
Mikael Finstad 2020-03-26 21:31:11 +08:00
rodzic e467b507a1
commit 7b001d39bc
1 zmienionych plików z 8 dodań i 1 usunięć

Wyświetl plik

@ -122,7 +122,14 @@ module.exports = (app, mainWindow, newVersion) => {
],
},
{ role: 'windowMenu' },
// On Windows the windowMenu has a close Ctrl+W which clashes with File->Close shortcut
...(process.platform === 'darwin'
? [{ role: 'windowMenu' }]
: [{
label: 'Window',
submenu: [{ role: 'minimize' }],
}]
),
{
label: 'Tools',