mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Update dataset screenRow of gutter nodes when updating them
This commit is contained in:
@@ -147,6 +147,7 @@ GutterComponent = React.createClass
|
||||
unless @screenRowsByLineNumberId[lineNumberId] is screenRow
|
||||
{lineHeight} = @props
|
||||
@lineNumberNodesById[lineNumberId].style.top = screenRow * lineHeight + 'px'
|
||||
@lineNumberNodesById[lineNumberId].dataset.screenRow = screenRow
|
||||
@screenRowsByLineNumberId[lineNumberId] = screenRow
|
||||
@lineNumberIdsByScreenRow[screenRow] = lineNumberId
|
||||
|
||||
|
||||
Reference in New Issue
Block a user