Skip to content

Commit ad7f651

Browse files
committed
feat(mac): expose native window options in menu bar
1 parent 658a46d commit ad7f651

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

apps/code/src/main/menu.ts

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -325,13 +325,5 @@ function buildViewMenu(): MenuItemConstructorOptions {
325325
}
326326

327327
function buildWindowMenu(): MenuItemConstructorOptions {
328-
return {
329-
label: "Window",
330-
submenu: [
331-
{ role: "minimize" },
332-
{ role: "zoom" },
333-
{ type: "separator" },
334-
{ role: "front" },
335-
],
336-
};
328+
return { role: "windowMenu" };
337329
}

0 commit comments

Comments
 (0)