fullscreen for steam

This commit is contained in:
Olivier Gagnon 2021-12-12 12:58:57 -05:00
parent c845fb4203
commit eb77bf352c

@ -68,6 +68,22 @@ function createWindow() {
}, },
], ],
}, },
{
label: "fullscreen",
submenu: [
{
label: "toggle",
accelerator: "f9",
click: (() => {
let full = false;
return () => {
full = !full;
win.setFullScreen(full);
};
})(),
},
],
},
]), ]),
); );