Remove white flash on boot up

When the electron app is started appear a white flash before show the
MagicMirror system.

This patch remove the white flash on boot up.
This commit is contained in:
Rodrigo Ramez Norambuena 2017-01-04 12:52:21 -03:00 committed by Rodrigo Ramírez Norambuena
parent 8ac8b666bf
commit 6552157894
2 changed files with 5 additions and 1 deletions

View File

@ -7,6 +7,9 @@ This project adheres to [Semantic Versioning](http://semver.org/).
### Added ### Added
- Add loaded function to modules, providing an async callback. - Add loaded function to modules, providing an async callback.
### Fixed
- Remove white flash on boot up
## [2.1.0] - 2016-12-31 ## [2.1.0] - 2016-12-31
**Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install` **Note:** This update uses new dependencies. Please update using the following command: `git pull && npm install`

View File

@ -28,7 +28,8 @@ function createWindow() {
webPreferences: { webPreferences: {
nodeIntegration: false, nodeIntegration: false,
zoomFactor: config.zoom zoomFactor: config.zoom
} },
backgroundColor: "#000000"
} }
// DEPRECATED: "kioskmode" backwards compatibility, to be removed // DEPRECATED: "kioskmode" backwards compatibility, to be removed