Reference scrollingVertically in the proper location in presenter state

This commit is contained in:
Nathan Sobo
2015-02-03 12:20:06 -07:00
parent ac215e11b4
commit 9991cd73c7

View File

@@ -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)