summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-07-06 23:13:19 +0200
committerTor Andersson <tor@ccxvii.net>2023-07-07 19:05:52 +0200
commitc30bb468331f44801591ae4fbfce6f4132b8c873 (patch)
tree96acdb9048d4752efae19ac15be3184ea9d86f6a
parent78cbb621a1cef47ce2d79b40f5ab2a2c13872a9d (diff)
downloadtime-of-crisis-c30bb468331f44801591ae4fbfce6f4132b8c873.tar.gz
Fix castra display.
Fix castra display.
-rw-r--r--play.css2
-rw-r--r--play.js1
2 files changed, 2 insertions, 1 deletions
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)