mirror of
https://github.com/atom/atom.git
synced 2026-01-29 00:38:11 -05:00
🔥
This commit is contained in:
@@ -315,6 +315,7 @@ class LinesTileComponent
|
||||
lineNode.dataset.screenRow = newLineState.screenRow
|
||||
oldLineState.screenRow = newLineState.screenRow
|
||||
@lineIdsByScreenRow[newLineState.screenRow] = id
|
||||
@screenRowsByLineId[id] = newLineState.screenRow
|
||||
|
||||
lineNodeForScreenRow: (screenRow) ->
|
||||
@lineNodesByLineId[@lineIdsByScreenRow[screenRow]]
|
||||
|
||||
@@ -695,10 +695,6 @@ class TextEditorPresenter
|
||||
@updateScrollbarDimensions()
|
||||
@updateScrollWidth()
|
||||
|
||||
updateContentDimensions: ->
|
||||
@updateVerticalDimensions()
|
||||
@updateHorizontalDimensions()
|
||||
|
||||
updateClientHeight: ->
|
||||
return unless @height? and @horizontalScrollbarHeight?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user