mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Use Math.round for positions that are at the end of a line
This commit is contained in:
@@ -2069,7 +2069,7 @@ class TextEditorComponent {
|
||||
lineNodeClientLeft = lineNode.getBoundingClientRect().left
|
||||
}
|
||||
|
||||
positions.set(nextColumnToMeasure, lastTextNodeRight - lineNodeClientLeft)
|
||||
positions.set(nextColumnToMeasure, Math.round(lastTextNodeRight - lineNodeClientLeft))
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user