mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
💄
This commit is contained in:
committed by
probablycorey
parent
bbb7dfdd07
commit
35b0e06260
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user