mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Just use variable in hash
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user