Measure characters in new lines when vertically scrolling stops

This commit is contained in:
Nathan Sobo
2014-05-09 12:42:13 -06:00
parent 0ae8765a8a
commit 9f2c8c1756
2 changed files with 9 additions and 1 deletions

View File

@@ -28,7 +28,7 @@ LinesComponent = React.createClass
@measureLineHeightAndCharWidth()
shouldComponentUpdate: (newProps) ->
return true unless isEqualForProperties(newProps, @props, 'renderedRowRange', 'fontSize', 'fontFamily', 'lineHeight', 'showIndentGuide')
return true unless isEqualForProperties(newProps, @props, 'renderedRowRange', 'fontSize', 'fontFamily', 'lineHeight', 'showIndentGuide', 'scrollingVertically')
{renderedRowRange, pendingChanges} = newProps
for change in pendingChanges