From 9991cd73c7c7350be3edaea9642ced28e25938af Mon Sep 17 00:00:00 2001 From: Nathan Sobo Date: Tue, 3 Feb 2015 12:20:06 -0700 Subject: [PATCH] Reference scrollingVertically in the proper location in presenter state --- src/lines-component.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)