diff --git a/electron/main.js b/electron/main.js index fe7f500a9..8c1ab8f19 100644 --- a/electron/main.js +++ b/electron/main.js @@ -68,6 +68,22 @@ function createWindow() { }, ], }, + { + label: "fullscreen", + submenu: [ + { + label: "toggle", + accelerator: "f9", + click: (() => { + let full = false; + return () => { + full = !full; + win.setFullScreen(full); + }; + })(), + }, + ], + }, ]), );