mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Measure characters in new lines when vertically scrolling stops
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user