mirror of
https://github.com/atom/atom.git
synced 2026-01-22 21:38:10 -05:00
Make atom.setSize synchronous.
This commit is contained in:
@@ -438,7 +438,7 @@ class Atom extends Model
|
||||
# width - The {Number} of pixels.
|
||||
# height - The {Number} of pixels.
|
||||
setSize: (width, height) ->
|
||||
ipc.send('call-window-method', 'setSize', width, height)
|
||||
@getCurrentWindow().setSize(width, height)
|
||||
|
||||
# Public: Set the position of current window.
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user