diff --git a/src/text-editor-component.js b/src/text-editor-component.js index a0406796f..26dbd9f9a 100644 --- a/src/text-editor-component.js +++ b/src/text-editor-component.js @@ -418,8 +418,7 @@ class TextEditorComponent { this.linesToMeasure.clear() this.measuredContent = true - return false - // return wasHorizontalScrollbarVisible !== isHorizontalScrollbarVisible + return wasHorizontalScrollbarVisible !== isHorizontalScrollbarVisible } updateSyncAfterMeasuringContent () {