diff options
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -535,8 +535,8 @@ function layout_blocks_stacked(location, secret, known) { function position_block_stacked(location, i, c, k, element) { let space = TOWNS[location] let block_size = 60+6 - let x = space.x + (i - c) * 16 + k * 12 - let y = space.y + (i - c) * 16 - k * 12 + let x = space.layout.x + (i - c) * 16 + k * 12 + let y = space.layout.y + (i - c) * 16 - k * 12 element.style.left = ((x - block_size/2)|0)+"px" element.style.top = ((y - block_size/2)|0)+"px" } |