Remove temporary resizable:false on main window #17

This commit is contained in:
Ben Gotow 2017-10-04 12:39:35 -07:00
parent ba1d67347c
commit edc1fbc66e
2 changed files with 2 additions and 6 deletions

View file

@ -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'

View file

@ -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,
};