From 8263918033c2c7363aba13ff9b4b87388bcab3f7 Mon Sep 17 00:00:00 2001 From: Araxeus <78568641+Araxeus@users.noreply.github.com> Date: Fri, 11 Feb 2022 15:49:33 +0200 Subject: [PATCH] add toggle fullscreen to view menu enables f11 shortcut --- .gitignore | 1 + menu.js | 2 ++ 2 files changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 5ea4da07..543c5150 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ node_modules /dist /assets/generated electron-builder.yml +.vscode/settings.json diff --git a/menu.js b/menu.js index 4a581e70..3aa18709 100644 --- a/menu.js +++ b/menu.js @@ -254,6 +254,8 @@ const mainMenuTemplate = (win) => { { role: "zoomIn" }, { role: "zoomOut" }, { role: "resetZoom" }, + { type: "separator" }, + { role: "togglefullscreen" }, ], }, {