1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

fix windows menu

This commit is contained in:
Andrew Simachev 2022-02-22 13:07:52 +03:00
parent 0d0a61a157
commit e139f577c4

View file

@ -373,7 +373,7 @@ function createWindow () {
break;
case 'maximize':
win.setFullScreen(!win.isFullScreen());
win.maximize();
break;
case 'close':
@ -545,6 +545,14 @@ function menuInit () {
},
{
role: 'windowMenu',
submenu: [
{ role: 'minimize' },
{ role: 'zoom' },
{
label: 'Fullscreen', type: 'checkbox', checked: win.isFullScreen(),
click: () => { win.setFullScreen(!win.isFullScreen()); }
},
]
},
{
label: 'Help',