Give tiles an opaque background

This commit is contained in:
Antonio Scandurra
2015-06-05 12:07:44 +02:00
parent d139ef9399
commit 9f21ccf54d

View File

@@ -38,6 +38,10 @@ class TileComponent
@newTileState = @newState.tiles[@id]
@oldTileState = @oldState.tiles[@id]
if @newState.backgroundColor isnt @oldState.backgroundColor
@domNode.style.backgroundColor = @newState.backgroundColor
@oldState.backgroundColor = @newState.backgroundColor
if @newTileState.display isnt @oldTileState.display
@domNode.style.display = @newTileState.display
@oldTileState.display = @newTileState.display