mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-27 10:33:56 +08:00
fix(size): On initial launch, make the window full-screen
This commit is contained in:
parent
8b2797d3b0
commit
443b3ce642
1 changed files with 1 additions and 1 deletions
|
@ -541,7 +541,7 @@ class Atom extends Model
|
|||
else
|
||||
screen = remote.require 'screen'
|
||||
{width, height} = screen.getPrimaryDisplay().workAreaSize
|
||||
{x: 0, y: 0, width: Math.min(1024, width), height}
|
||||
{x: 0, y: 0, width, height}
|
||||
|
||||
restoreWindowDimensions: ->
|
||||
dimensions = @state.windowDimensions
|
||||
|
|
Loading…
Reference in a new issue