diff --git a/src/lines-component.coffee b/src/lines-component.coffee index 1cae8b8fb..bc067e95b 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -179,6 +179,7 @@ LinesComponent = React.createClass {lineHeight} = @props lineNode = @lineNodesByLineId[line.id] lineNode.style.top = screenRow * lineHeight + 'px' + lineNode.dataset.screenRow = screenRow @screenRowsByLineId[line.id] = screenRow @lineIdsByScreenRow[screenRow] = line.id