Skip to content

Commit c5dc66c

Browse files
fix(menu): double window menu (#595)
Closes #593
1 parent 61b7ce4 commit c5dc66c

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

src/main/menu/main.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -260,14 +260,6 @@ const markdownMenuItems: MenuConfig[] = [
260260
},
261261
]
262262

263-
const windowMenu: MenuItemConstructorOptions[] = [
264-
{
265-
label: i18n.t('menu:window.minimize'),
266-
accelerator: 'CommandOrControl+M',
267-
role: 'minimize',
268-
},
269-
]
270-
271263
const menuItems: MenuItemConstructorOptions[] = [
272264
{
273265
label: i18n.t('menu:app.label'),
@@ -292,10 +284,6 @@ const menuItems: MenuItemConstructorOptions[] = [
292284
{
293285
role: 'windowMenu',
294286
},
295-
{
296-
label: i18n.t('menu:window.label'),
297-
submenu: windowMenu,
298-
},
299287
{
300288
label: i18n.t('menu:help.label'),
301289
submenu: createPlatformMenuItems(helpMenuItems),

0 commit comments

Comments
 (0)