From 39e8920c72232f74a37c60e26b08b37c12964def Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Mon, 21 Sep 2015 11:31:34 +0200 Subject: [PATCH] Reset only lines state --- src/text-editor-presenter.coffee | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/text-editor-presenter.coffee b/src/text-editor-presenter.coffee index 48b685dc5..13cc911e4 100644 --- a/src/text-editor-presenter.coffee +++ b/src/text-editor-presenter.coffee @@ -74,10 +74,9 @@ class TextEditorPresenter @updateEndRow() @updateLineDecorations() if @shouldUpdateDecorations - @updateTilesState() if @shouldUpdateLineNumbersState or @shouldUpdateLinesState + @updateTilesState() if @shouldUpdateLinesState @shouldUpdateLinesState = false - @shouldUpdateLineNumbersState = false @state