mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-01 13:14:16 +08:00
Remove temporary resizable:false on main window #17
This commit is contained in:
parent
ba1d67347c
commit
edc1fbc66e
2 changed files with 2 additions and 6 deletions
|
@ -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'
|
||||
|
|
|
@ -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,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue