Manually config tileSize

Dealing with a manually entered `tileSize` is actually easier to reason about,
therefore we no longer calculate it based on `tileCount.`
This commit is contained in:
Antonio Scandurra
2015-05-20 18:55:47 +02:00
parent 329b5b4e02
commit 752dbf2c6e
7 changed files with 39 additions and 38 deletions

View File

@@ -21,6 +21,7 @@ class TileComponent
@screenRowsByLineId = {}
@lineIdsByScreenRow = {}
@domNode = document.createElement("div")
@domNode.classList.add("tile")
@domNode.style.position = "absolute"
@domNode.style.display = "block"