1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00

fix Shortcut conflict #279

This commit is contained in:
Mikael Finstad 2020-03-26 21:31:11 +08:00
parent e467b507a1
commit 7b001d39bc

View File

@ -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',