summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/play.js b/play.js
index 7c89572..e922641 100644
--- a/play.js
+++ b/play.js
@@ -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")
}