mirror of
https://github.com/atom/atom.git
synced 2026-01-24 06:18:03 -05:00
Revert "Don't trigger scroll event on edit session load, it is called automatically "
This reverts commit cae7c18db4.
This commit is contained in:
@@ -381,6 +381,7 @@ class Editor extends View
|
||||
editSession = @getActiveEditSession()
|
||||
@verticalScrollbar.scrollTop(editSession.scrollTop ? 0)
|
||||
@scrollView.scrollLeft(editSession.scrollLeft ? 0)
|
||||
@verticalScrollbar.trigger 'scroll'
|
||||
|
||||
saveCurrentEditSession: ->
|
||||
@editSessions[@activeEditSessionIndex] =
|
||||
|
||||
Reference in New Issue
Block a user