diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-27 18:12:35 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 1648768bd0cead8658b5bad57284a34a7723964f (patch) | |
tree | 8b8ca2563e3cfada59824f66f21ab16a2d81df2f /play.js | |
parent | a5c43ff3ba11c89abec0b1eb3c1d75fa01a3f518 (diff) | |
download | friedrich-1648768bd0cead8658b5bad57284a34a7723964f.tar.gz |
add bang image (twemoji u+1f4a5 collision symbol)
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -691,8 +691,8 @@ function layout_train(id, s) { function layout_combat_marker() { let x = (data.cities.x[view.attacker] + data.cities.x[view.defender]) >> 1 let y = (data.cities.y[view.attacker] + data.cities.y[view.defender]) >> 1 - ui.combat.style.left = x - 30 + "px" - ui.combat.style.top = y - 30 + "px" + ui.combat.style.left = x - 20 + "px" + ui.combat.style.top = y - 20 + "px" ui.combat.style.zIndex = y } |