Merge pull request #13140 from atom/fb-vjeux-fix_arrow

Fix wrong binding on atom-environment.coffee
This commit is contained in:
Michelle Tilley
2016-11-03 19:40:37 -07:00
committed by GitHub

View File

@@ -656,7 +656,7 @@ class AtomEnvironment extends Model
restoreWindowDimensions: ->
unless @windowDimensions? and @isValidDimensions(@windowDimensions)
@windowDimensions = @getDefaultWindowDimensions()
@setWindowDimensions(@windowDimensions).then -> @windowDimensions
@setWindowDimensions(@windowDimensions).then => @windowDimensions
restoreWindowBackground: ->
if backgroundColor = window.localStorage.getItem('atom:window-background-color')