show window without 50ms timeout
Shouldn’t be needed since @ngoldman changed the <script> tag to async.
This commit is contained in:
@@ -33,10 +33,8 @@ function createMainWindow (menu) {
|
||||
})
|
||||
|
||||
win.webContents.on('did-finish-load', function () {
|
||||
setTimeout(function () {
|
||||
debug('startup time: %sms', Date.now() - app.startTime)
|
||||
win.show()
|
||||
}, 50)
|
||||
debug('startup time: %sms', Date.now() - app.startTime)
|
||||
win.show()
|
||||
})
|
||||
|
||||
win.on('blur', menu.onWindowHide)
|
||||
|
||||
Reference in New Issue
Block a user