🐛 updateContentDimensions when model changes

This commit is contained in:
Antonio Scandurra
2015-07-07 11:28:30 +02:00
parent ed735d80e8
commit 4e4b49eef8
2 changed files with 12 additions and 1 deletions

View File

@@ -112,6 +112,8 @@ class TextEditorPresenter
observeModel: ->
@disposables.add @model.onDidChange =>
@updateContentDimensions()
@shouldUpdateHeightState = true
@shouldUpdateVerticalScrollState = true
@shouldUpdateHorizontalScrollState = true