Redraw on reattached only if detached editor was previously attached

This commit is contained in:
Nathan Sobo
2013-02-12 16:27:10 -07:00
parent 498c11a080
commit 2d2b4ea754

View File

@@ -733,8 +733,7 @@ class Editor extends View
if @isOnDom()
@redraw()
else
@redrawOnReattach = true
@redrawOnReattach = @attached
getFontSize: ->
parseInt(@css("font-size"))