diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -483,7 +483,7 @@ function layout_blocks_spread(location, north, south) { function position_block_spread(location, row, n_rows, col, n_cols, element) { let space = SPACES[location] - let block_size = (label_style === 'columbia') ? 56+6 : 48+4 + let block_size = (label_style === 'columbia') ? 56+6 : 48+6 let padding = (location === LEVY || location === DEAD) ? 6 : 3 let offset = block_size + padding let row_size = (n_rows-1) * offset @@ -853,6 +853,7 @@ function on_update() { update_battle() if (!document.getElementById("battle").classList.contains("show")) show_battle() + document.getElementById("battle").classList.toggle("sea", SPACES[view.battle.where].type === "sea") } else { document.getElementById("battle").classList.remove("show") } |