Draw highlight components appropriately

This commit is contained in:
Antonio Scandurra
2015-05-05 19:03:13 +02:00
parent de53e1dccc
commit 40cde496d7
2 changed files with 4 additions and 8 deletions

View File

@@ -41,10 +41,6 @@ class TileComponent
@domNode.style['-webkit-transform'] = "translate3d(0, #{@newState.tiles[@id].top}px, 0px)"
@oldState.tiles[@id]?.top = @newState.tiles[@id].top
if @newState.backgroundColor isnt @oldState.backgroundColor
@domNode.style.backgroundColor = @newState.backgroundColor
@oldState.backgroundColor = @newState.backgroundColor
@removeLineNodes() unless @oldState.indentGuidesVisible is @newState.indentGuidesVisible
@updateLineNodes()