From a004f3d20cca66ede253034b56246f37e8fa1011 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 6 Jan 2025 22:26:03 +0100 Subject: use overlay for systematization instead of double sized counter --- play.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'play.js') diff --git a/play.js b/play.js index fdc22f6..c5c7602 100644 --- a/play.js +++ b/play.js @@ -835,6 +835,7 @@ function on_update() { layout_country(i) /*layout_score_box(i)*/ } + // UPDATE CARD DISPLAYS ui.samizdat_card.replaceChildren() @@ -903,8 +904,10 @@ function on_update() { for (let e of action_register) e.classList.toggle("action", is_action(e.my_action, e.my_id)) - for (let s = 0; s <= last_space; ++s) + for (let s = 0; s <= last_space; ++s) { ui.spaces[s].classList.toggle("selected", view.selected_space === s) + ui.spaces[s].classList.toggle("systematization", view.systematization === s) + } action_button("east_germany", "East Germany") action_button("poland", "Poland") -- cgit v1.2.3