fix(size): On initial launch, make the window full-screen

This commit is contained in:
Ben Gotow 2015-03-11 13:53:11 -07:00
parent 8b2797d3b0
commit 443b3ce642

View file

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