diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:52:33 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-05-30 21:59:25 +0200 |
commit | 63b8fcbd6eb043eb19fce4265b65413040693256 (patch) | |
tree | db64b4d91a849cf0fe9b450e08a0641f7e3861eb | |
parent | acc8a4fc853c7c0e296487b250114f402b69fe95 (diff) | |
download | friedrich-63b8fcbd6eb043eb19fce4265b65413040693256.tar.gz |
show combat explosion on top of everything else
-rw-r--r-- | play.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -609,6 +609,7 @@ function on_init() { ui.combat = document.createElement("div") ui.combat.id = "combat" + ui.combat.style.zIndex = 2000 ui.tcbreak = document.createElement("div") ui.tcbreak.className = "draw-break" @@ -848,7 +849,6 @@ function layout_combat_marker() { let y = (data.cities.y[view.attacker] + data.cities.y[view.defender]) >> 1 ui.combat.style.left = x - 20 + "px" ui.combat.style.top = y - 20 + "px" - ui.combat.style.zIndex = y } function create_conquest(style, s) { |