Skip to content

The swiss army knife of lossless video/audio editing

add zoom menu item #2409

Mikael Finstad250506720714
diff --git a/src/main/menu.ts b/src/main/menu.ts
index 776488f0..3fb1ae68 100644
--- a/src/main/menu.ts
+++ b/src/main/menu.ts
@@ -364,13 +364,17 @@ export default ({ app, mainWindow, newVersion, isStoreBuild }: {
},
// On Windows the windowMenu has a close Ctrl+W which clashes with File->Close shortcut
- ...(process.platform === 'darwin'
- ? [{ role: 'windowMenu' as const, label: esc(t('Window')) }]
- : [{
+ ...(process.platform === 'darwin' ? [
+ { role: 'windowMenu' as const, label: esc(t('Window')) },
+ ] : [
+ {
label: esc(t('Window')),
- submenu: [{ role: 'minimize' as const, label: esc(t('Minimize')) }],
- }]
- ),
+ submenu: [
+ { role: 'minimize' as const, label: esc(t('Minimize')) },
+ { role: 'zoom' as const, label: esc(t('Zoom')) },
+ ],
+ },
+ ]),
{
label: esc(t('Tools')),