mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Kill unneeded param
This commit is contained in:
committed by
Corey Johnson & Kevin Sawicki
parent
ed0de80af3
commit
51f5bb95d0
@@ -43,7 +43,7 @@ class GoToLineView extends View
|
||||
@detach()
|
||||
|
||||
return unless editor and lineNumber.length
|
||||
position = new Point(parseInt(lineNumber - 1, 0))
|
||||
position = new Point(parseInt(lineNumber - 1))
|
||||
editor.scrollToBufferPosition(position, center: true)
|
||||
editor.setCursorBufferPosition(position)
|
||||
editor.moveCursorToFirstCharacterOfLine()
|
||||
|
||||
Reference in New Issue
Block a user