diff --git a/src/editor.coffee b/src/editor.coffee index bf9ec5ace..d4d21f7af 100644 --- a/src/editor.coffee +++ b/src/editor.coffee @@ -49,12 +49,13 @@ exports.bindKey = bindKey = (name, shortcut, callback) -> win: null mac: shortcut sender: 'editor' -exports.resize = (e) -> +exports.resize = (timeout=1) -> setTimeout -> editor.focus() editor.resize() - , 1 + , timeout +exports.resize(200) bindKey 'open', 'Command-O', (env, args, request) -> if file = Chrome.openPanel()