From 93fe0208a5cbf89fa6cdc524cba996490bb33697 Mon Sep 17 00:00:00 2001 From: Max Brunsfeld Date: Thu, 15 Oct 2015 15:12:57 -0700 Subject: [PATCH] Make atom.setSize() synchronous again, for now This method is public, and a spec for TextEditorComponent dependend on it staying synchronous --- src/application-delegate.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/application-delegate.coffee b/src/application-delegate.coffee index 79afee802..f2b425137 100644 --- a/src/application-delegate.coffee +++ b/src/application-delegate.coffee @@ -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()