mirror of
https://github.com/atom/atom.git
synced 2026-01-23 05:48:10 -05:00
Don't recalculate dimensions on stylesheet changes for detached editors
This commit is contained in:
@@ -884,6 +884,8 @@ class EditorView extends View
|
||||
@setHeightInLines()
|
||||
|
||||
recalculateDimensions: ->
|
||||
return unless @attached
|
||||
|
||||
oldCharWidth = @charWidth
|
||||
oldLineHeight = @lineHeight
|
||||
|
||||
|
||||
Reference in New Issue
Block a user