mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Merge pull request #15828 from atom/ns-clear-dimensions-cache
Clear the dimensions cache after updating the soft wrap column
This commit is contained in:
@@ -2118,6 +2118,7 @@ class TextEditorComponent {
|
||||
// rendered start row accurately. 😥
|
||||
this.populateVisibleRowRange(renderedStartRow)
|
||||
this.props.model.setEditorWidthInChars(this.getScrollContainerClientWidthInBaseCharacters())
|
||||
this.derivedDimensionsCache = {}
|
||||
|
||||
this.suppressUpdates = false
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user