From b6049857edaa867545f2931cfeb05076ddf8f782 Mon Sep 17 00:00:00 2001 From: Antonio Scandurra Date: Fri, 12 Jun 2015 19:00:15 +0200 Subject: [PATCH] :art: --- src/lines-component.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lines-component.coffee b/src/lines-component.coffee index 32ea119c9..644278550 100644 --- a/src/lines-component.coffee +++ b/src/lines-component.coffee @@ -35,6 +35,7 @@ class LinesComponent extends TiledComponent if @newState.backgroundColor isnt @oldState.backgroundColor @domNode.style.backgroundColor = @newState.backgroundColor + @oldState.backgroundColor = @newState.backgroundColor afterUpdateSync: (state) -> if @newState.placeholderText isnt @oldState.placeholderText @@ -56,7 +57,6 @@ class LinesComponent extends TiledComponent @oldState.indentGuidesVisible = @newState.indentGuidesVisible @oldState.scrollWidth = @newState.scrollWidth @oldState.width = @newState.width - @oldState.backgroundColor = @newState.backgroundColor buildComponentForTile: (id) -> new LinesTileComponent({id, @presenter})