From c30bb468331f44801591ae4fbfce6f4132b8c873 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Thu, 6 Jul 2023 23:13:19 +0200 Subject: Fix castra display. Fix castra display. --- play.css | 2 +- play.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/play.css b/play.css index eb5d563..bb3af9e 100644 --- a/play.css +++ b/play.css @@ -408,7 +408,7 @@ body.p2 #npg_galatia { display: block } background-size: 54px 64px; background-color: transparent; box-shadow: none; - filter: drop-shadow(1px 1px 6px #0008); + filter: drop-shadow(0px 1px 3px #0008); } .legion { diff --git a/play.js b/play.js index 58e083b..114f8da 100644 --- a/play.js +++ b/play.js @@ -1370,6 +1370,7 @@ function on_update() { layout_stack(pi * 6 + ai, stack, region, inside ? 1 : 0, 16, 16) } else { avail_stack.push(e) + hide(ui.castra[pi][ai]) } e.classList.toggle("unavailable", region === UNAVAILABLE) e.classList.toggle("selected", view.selected_general === pi * 6 + ai) -- cgit v1.2.3