Use default dimensions the first time we load a window, but saved dimensions after that.

This commit is contained in:
joshaber
2016-02-08 21:20:36 -05:00
parent f9ec7b5691
commit 03e33b4474
3 changed files with 19 additions and 9 deletions

View File

@@ -49,6 +49,7 @@ class AtomWindow
loadSettings.devMode ?= false
loadSettings.safeMode ?= false
loadSettings.atomHome = process.env.ATOM_HOME
loadSettings.firstLoad = true
# Only send to the first non-spec window created
if @constructor.includeShellLoadTime and not @isSpec