mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Use last buffer row instead of last screen row to calculate gutter width.
This commit is contained in:
@@ -19,4 +19,4 @@ class Gutter extends View
|
||||
@div {class: 'line-number'}, if row == lastScreenRow then '•' else row + 1
|
||||
lastScreenRow = row
|
||||
|
||||
@lineNumbers.width(editor.getLastScreenRow().toString().length * editor.charWidth)
|
||||
@lineNumbers.width(editor.buffer.getLastRow().toString().length * editor.charWidth)
|
||||
|
||||
Reference in New Issue
Block a user