Add maximized parameter

This commit is contained in:
Kevin Sawicki
2014-08-14 14:37:15 -07:00
parent ef47bdab3f
commit a7a6236b26

View File

@@ -211,7 +211,7 @@ class Atom extends Model
# :width - The new width.
# :height - The new height.
# :maximized - A {Boolean} for the maximized window state.
setWindowDimensions: ({x, y, width, height}) ->
setWindowDimensions: ({x, y, width, height, maximized}) ->
if maximized and process.platform isnt 'darwin'
@maximize()
else