mirror of
https://github.com/atom/atom.git
synced 2026-01-23 13:58:08 -05:00
Don't trigger scroll event on edit session load, it is called automatically
Fixes partially rendered lines when you reload
This commit is contained in:
@@ -381,7 +381,6 @@ 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