From edc1fbc66e8627a1e70e1f962bfc7d90e08f6fe1 Mon Sep 17 00:00:00 2001 From: Ben Gotow Date: Wed, 4 Oct 2017 12:39:35 -0700 Subject: [PATCH] Remove temporary resizable:false on main window #17 --- app/src/browser/mailspring-window.coffee | 2 -- app/src/browser/window-manager.es6 | 6 ++---- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/app/src/browser/mailspring-window.coffee b/app/src/browser/mailspring-window.coffee index 26762e509..180a61e26 100644 --- a/app/src/browser/mailspring-window.coffee +++ b/app/src/browser/mailspring-window.coffee @@ -100,8 +100,6 @@ class MailspringWindow @browserWindow.once 'window:loaded', => @loaded = true - if @mainWindow - @browserWindow.setResizable(true) if @browserWindow.loadSettingsChangedSinceGetURL @browserWindow.webContents.send('load-settings-changed', @browserWindow.loadSettings) @emit 'window:loaded' diff --git a/app/src/browser/window-manager.es6 b/app/src/browser/window-manager.es6 index f163cad85..b0ab1b79e 100644 --- a/app/src/browser/window-manager.es6 +++ b/app/src/browser/window-manager.es6 @@ -208,10 +208,8 @@ export default class WindowManager { neverClose: true, bootstrapScript: require.resolve('../window-bootstrap'), mainWindow: true, - width: 640, // Gets reset once app boots up - height: 396, // Gets reset once app boots up - center: true, // Gets reset once app boots up - resizable: false, // Gets reset once app boots up + width: 900, // Gets changed based on previous settings + height: 600, // Gets changed based on previous settings initializeInBackground: this.initializeInBackground, };