Fix double autoscroll when moving cursor

This commit is contained in:
Max Brunsfeld
2015-03-27 10:27:24 -07:00
parent 296a986b12
commit 230eb12a8a
2 changed files with 8 additions and 1 deletions

View File

@@ -648,7 +648,7 @@ class Cursor extends Model
###
changePosition: (options, fn) ->
@clearSelection(options)
@clearSelection(autoscroll: false)
fn()
@autoscroll() if options.autoscroll ? @isLastCursor()