diff --git a/src/lines-component.coffee b/src/lines-component.coffee index bd9589f72..b25118142 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -68,7 +68,7 @@ LinesComponent = React.createClass @removeLineNodes() unless @oldState?.indentGuidesVisible is @newState?.indentGuidesVisible @updateLineNodes() - @measureCharactersInNewLines() if visible and not presenter.state.scrollingVertically + @measureCharactersInNewLines() if visible and not @newState.scrollingVertically @overlayManager?.render(@props)