From 2d2b4ea7544588b1429b42c8623248abce321506 Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 12 Feb 2013 16:27:10 -0700 Subject: [PATCH] Redraw on reattached only if detached editor was previously attached --- src/app/editor.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 5107cdfa9..a5ce20265 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -733,8 +733,7 @@ class Editor extends View if @isOnDom() @redraw() else - @redrawOnReattach = true - + @redrawOnReattach = @attached getFontSize: -> parseInt(@css("font-size"))