Skip to content

Commit

Permalink
fixes electron flashing white screen on startup (MagicMirrorOrg#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
khassel committed Jan 11, 2023
1 parent 6e80e5a commit c2c14ef
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ _This release is scheduled to be released on 2023-04-01._
### Fixed

- Fix wrong day labels in envcanada forecast (#2987)
- Fixed electron flashing white screen on startup (#1919)

## [2.22.0] - 2023-01-01

Expand Down
4 changes: 3 additions & 1 deletion js/electron.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,9 @@ function createWindow() {
electronOptionsDefaults.kiosk = true;
} else {
electronOptionsDefaults.fullscreen = true;
electronOptionsDefaults.autoHideMenuBar = true;
electronOptionsDefaults.frame = false;
electronOptionsDefaults.transparent = true;
electronOptionsDefaults.hasShadow = false;
}

const electronOptions = Object.assign({}, electronOptionsDefaults, config.electronOptions);
Expand Down

0 comments on commit c2c14ef

Please sign in to comment.