mirror of https://github.com/keeweb/keeweb.git
fixed color flash on startup
This commit is contained in:
parent
c59b14026c
commit
7c69c1305f
|
@ -136,6 +136,7 @@ function createMainWindow() {
|
||||||
width: 1000, height: 700, minWidth: 700, minHeight: 400,
|
width: 1000, height: 700, minWidth: 700, minHeight: 400,
|
||||||
icon: path.join(__dirname, 'icon.png'),
|
icon: path.join(__dirname, 'icon.png'),
|
||||||
titleBarStyle: appSettings ? appSettings.titlebarStyle : undefined,
|
titleBarStyle: appSettings ? appSettings.titlebarStyle : undefined,
|
||||||
|
backgroundColor: '#282C34',
|
||||||
webPreferences: {
|
webPreferences: {
|
||||||
backgroundThrottling: false
|
backgroundThrottling: false
|
||||||
}
|
}
|
||||||
|
@ -145,7 +146,7 @@ function createMainWindow() {
|
||||||
if (showDevToolsOnStart) {
|
if (showDevToolsOnStart) {
|
||||||
mainWindow.openDevTools();
|
mainWindow.openDevTools();
|
||||||
}
|
}
|
||||||
mainWindow.webContents.on('dom-ready', () => {
|
mainWindow.once('ready-to-show', () => {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
ready = true;
|
ready = true;
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
Release notes
|
Release notes
|
||||||
-------------
|
-------------
|
||||||
|
##### v1.7.0 (WIP)
|
||||||
|
`-` fixed color flash on startup
|
||||||
|
|
||||||
##### v1.6.1 (2017-12-03)
|
##### v1.6.1 (2017-12-03)
|
||||||
`-` fixed white screen on startup
|
`-` fixed white screen on startup
|
||||||
`+` `--devtools` command line argument
|
`+` `--devtools` command line argument
|
||||||
|
|
Loading…
Reference in New Issue