From 7127979c6fe201a08f42cbff6226dc9235fe6dd1 Mon Sep 17 00:00:00 2001 From: Karsten Hassel Date: Thu, 14 Sep 2023 08:01:50 +0200 Subject: [PATCH] electron: add missing fullscreen option (#3192) follow up for https://github.com/MichMich/MagicMirror/pull/3187 @bugsounet can you please confirm that this now works for you? --- CHANGELOG.md | 2 +- js/electron.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9319104f..ca9184d7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -45,7 +45,7 @@ _This release is scheduled to be released on 2023-10-01._ - Fix time issue with certain recurring events in calendar module - Fix ipWhiteList test (#3179) - Fix newsfeed: Convert HTML entities, codes and tag in description (#3191) -- Respect width/height (no fullscreen) if set in electronOptions in `config.js` (#3174) +- Respect width/height (no fullscreen) if set in electronOptions (together with `fullscreen: false`) in `config.js` (#3174) ## [2.24.0] - 2023-07-01 diff --git a/js/electron.js b/js/electron.js index d2254704..43f637ac 100644 --- a/js/electron.js +++ b/js/electron.js @@ -59,6 +59,7 @@ function createWindow() { electronOptionsDefaults.frame = false; electronOptionsDefaults.transparent = true; electronOptionsDefaults.hasShadow = false; + electronOptionsDefaults.fullscreen = true; } const electronOptions = Object.assign({}, electronOptionsDefaults, config.electronOptions);