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