From 63b8fcbd6eb043eb19fce4265b65413040693256 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 30 May 2024 21:52:33 +0200 Subject: show combat explosion on top of everything else --- play.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/play.js b/play.js index 66d6641..e70b83e 100644 --- a/play.js +++ b/play.js @@ -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) { -- cgit v1.2.3