mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Redraw on reattached only if detached editor was previously attached
This commit is contained in:
@@ -733,8 +733,7 @@ class Editor extends View
|
||||
if @isOnDom()
|
||||
@redraw()
|
||||
else
|
||||
@redrawOnReattach = true
|
||||
|
||||
@redrawOnReattach = @attached
|
||||
|
||||
getFontSize: ->
|
||||
parseInt(@css("font-size"))
|
||||
|
||||
Reference in New Issue
Block a user