mirror of
https://github.com/atom/atom.git
synced 2026-04-06 03:02:13 -04:00
Auto-scroll last to avoid forcing a reflow before we're done modifying
This commit is contained in:
@@ -737,11 +737,11 @@ class Editor extends View
|
||||
|
||||
updateDisplay: (options={}) ->
|
||||
return unless @attached
|
||||
@updateRenderedLines()
|
||||
@highlightCursorLine()
|
||||
@updateCursorViews()
|
||||
@updateSelectionViews()
|
||||
@autoscroll(options)
|
||||
@updateRenderedLines()
|
||||
@highlightCursorLine()
|
||||
|
||||
updateCursorViews: ->
|
||||
if @newCursors.length > 0
|
||||
|
||||
Reference in New Issue
Block a user