mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 11:50:00 +00:00
respect width/height (no fullscreen) if set in electronOptions... (#3187)
... in `config.js`. Solves #3174 With getting width/heigt from `electron.screen.getPrimaryDisplay().workAreaSize` introduced with https://github.com/MichMich/MagicMirror/pull/3161 the solution was to remove the `setFullscreen` line. So per default the fullscreen resolution is used but when someone now uses `electronOptions.width`/`electronOptions.height` in `config.js` these parameters are used and so "no fullscreen" is possible.
This commit is contained in:
parent
91fd931a58
commit
fa7c7fc8cf
@ -9,7 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
|
||||
|
||||
_This release is scheduled to be released on 2023-10-01._
|
||||
|
||||
> ⚠️ This release needs nodejs version > `v18`, older release have reached end of life and will not work!
|
||||
> ⚠️ This release needs nodejs version >= `v18`, older release have reached end of life and will not work!
|
||||
|
||||
### Added
|
||||
|
||||
@ -45,6 +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)
|
||||
|
||||
## [2.24.0] - 2023-07-01
|
||||
|
||||
|
@ -130,7 +130,6 @@ function createWindow() {
|
||||
});
|
||||
|
||||
mainWindow.once("ready-to-show", () => {
|
||||
mainWindow.setFullScreen(true);
|
||||
mainWindow.show();
|
||||
});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user