Just use variable in hash

This commit is contained in:
Kevin Sawicki
2014-07-10 11:44:55 -07:00
parent 5ecaf5dfc4
commit 3921a63f67

View File

@@ -241,7 +241,7 @@ class Atom extends Model
localStorage.removeItem("defaultWindowDimensions")
{width, height} = screen.getPrimaryDisplay().workAreaSize
dimensions ? {x: 0, y: 0, width: Math.min(1024, width), height: height}
dimensions ? {x: 0, y: 0, width: Math.min(1024, width), height}
restoreWindowDimensions: ->
windowDimensions = @state.windowDimensions ? @getDefaultWindowDimensions()