Make atom.setSize() synchronous again, for now

This method is public, and a spec for TextEditorComponent dependend on it
staying synchronous
This commit is contained in:
Max Brunsfeld
2015-10-15 15:12:57 -07:00
parent 28ed6f3d9f
commit 93fe0208a5

View File

@@ -28,7 +28,7 @@ class ApplicationDelegate
{width, height}
setWindowSize: (width, height) ->
ipc.send("call-window-method", "setSize", width, height)
remote.getCurrentWindow().setSize(width, height)
getWindowPosition: ->
[x, y] = remote.getCurrentWindow().getPosition()