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:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user