make config static, not dynamic

I don't think we should dynamically generate the config object -- it
makes it harder to figure out what's going on.
This commit is contained in:
Feross Aboukhadijeh
2016-09-21 13:08:32 -07:00
parent 853db922f1
commit 9e853027da
2 changed files with 12 additions and 12 deletions

View File

@@ -28,7 +28,7 @@ function init (state, options) {
return main.win.show()
}
const initialBounds = Object.assign(config.DEFAULT_BOUNDS, state.saved.bounds)
const initialBounds = Object.assign(config.WINDOW_INITIAL_BOUNDS, state.saved.bounds)
const win = main.win = new electron.BrowserWindow({
backgroundColor: '#282828',