mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
🎨
This commit is contained in:
@@ -57,8 +57,7 @@ window.onload = function() {
|
||||
global.atom.loadTime = Date.now() - startTime;
|
||||
console.log('Window load time: ' + global.atom.getWindowLoadTime() + 'ms');
|
||||
}
|
||||
}
|
||||
catch (error) {
|
||||
} catch (error) {
|
||||
var currentWindow = require('remote').getCurrentWindow();
|
||||
currentWindow.setSize(800, 600);
|
||||
currentWindow.center();
|
||||
|
||||
Reference in New Issue
Block a user