show window without 50ms timeout

Shouldn’t be needed since @ngoldman changed the <script> tag to async.
This commit is contained in:
Feross Aboukhadijeh
2016-03-07 18:15:21 -08:00
parent dc26a87e0c
commit 1ea055eb4a

View File

@@ -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)