Skip to content

Commit

Permalink
🐛 Fix broken dot marker update since API changes
Browse files Browse the repository at this point in the history
  • Loading branch information
abe33 committed Oct 2, 2014
1 parent a3ea378 commit a9b9704
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/dot-marker-view.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,10 @@ class DotMarkerView

color = @getColor()
colorText = @getColorTextColor()
lineLength = @editor.displayBuffer.getLines()[range.start.row].text.length
line = @editor.lineTextForScreenRow(range.start.row)
lineLength = line.length
position = row: range.start.row, column: lineLength
console.log range.start.row, range.end.row, lineLength, line
{top, left} = @editorView.pixelPositionForScreenPosition(position)
@element.style.top = top + 'px'
@element.style.width = size + 'px'
Expand Down

0 comments on commit a9b9704

Please sign in to comment.