mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user