mirror of
https://github.com/atom/atom.git
synced 2026-02-14 00:25:08 -05:00
🐛 updateContentDimensions when model changes
This commit is contained in:
@@ -112,6 +112,8 @@ class TextEditorPresenter
|
||||
|
||||
observeModel: ->
|
||||
@disposables.add @model.onDidChange =>
|
||||
@updateContentDimensions()
|
||||
|
||||
@shouldUpdateHeightState = true
|
||||
@shouldUpdateVerticalScrollState = true
|
||||
@shouldUpdateHorizontalScrollState = true
|
||||
|
||||
Reference in New Issue
Block a user