mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Remove the max call
This commit is contained in:
@@ -281,7 +281,6 @@ class Cursor extends Model
|
||||
rowLength = @editor.lineTextForScreenRow(row).length
|
||||
column = rowLength - columnDelta
|
||||
columnDelta -= rowLength
|
||||
column = Math.max(column, 0)
|
||||
|
||||
@setScreenPosition({row, column})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user