From 35b0e062609150401c28daea0ee7cb2830d8934e Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 30 Apr 2013 11:36:07 -0700 Subject: [PATCH] :lipstick: --- src/app/editor.coffee | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index a718bcb85..9defac0f1 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -895,6 +895,7 @@ class Editor extends View @activeEditSession.finalizeSelections() @syncCursorAnimations() + afterAttach: (onDom) -> return unless onDom @redraw() if @redrawOnReattach @@ -1274,8 +1275,8 @@ class Editor extends View updateLayerDimensions: -> height = @lineHeight * @getScreenLineCount() unless @layerHeight == height - @renderedLines.height(height) @underlayer.css('min-height', height) + @renderedLines.height(height) @overlayer.height(height) @layerHeight = height