This commit is contained in:
Antonio Scandurra
2015-09-16 17:59:04 +02:00
parent b05f959d27
commit bae4d7d336
2 changed files with 1 additions and 4 deletions

View File

@@ -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]]

View File

@@ -695,10 +695,6 @@ class TextEditorPresenter
@updateScrollbarDimensions()
@updateScrollWidth()
updateContentDimensions: ->
@updateVerticalDimensions()
@updateHorizontalDimensions()
updateClientHeight: ->
return unless @height? and @horizontalScrollbarHeight?