mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Fix double autoscroll when moving cursor
This commit is contained in:
@@ -648,7 +648,7 @@ class Cursor extends Model
|
||||
###
|
||||
|
||||
changePosition: (options, fn) ->
|
||||
@clearSelection(options)
|
||||
@clearSelection(autoscroll: false)
|
||||
fn()
|
||||
@autoscroll() if options.autoscroll ? @isLastCursor()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user