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:
Corey Johnson
2012-05-15 15:28:10 -07:00
parent aacd077749
commit cae7c18db4

View File

@@ -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] =