From cae7c18db4bd4a0083c697d42749161b575a0dec Mon Sep 17 00:00:00 2001 From: Corey Johnson Date: Tue, 15 May 2012 15:28:10 -0700 Subject: [PATCH] Don't trigger scroll event on edit session load, it is called automatically Fixes partially rendered lines when you reload --- src/app/editor.coffee | 1 - 1 file changed, 1 deletion(-) diff --git a/src/app/editor.coffee b/src/app/editor.coffee index 73c8a3dc2..6e55dad7f 100644 --- a/src/app/editor.coffee +++ b/src/app/editor.coffee @@ -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] =