diff options
author | Tor Andersson <tor@ccxvii.net> | 2025-01-06 22:26:03 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2025-01-08 10:46:28 +0100 |
commit | a004f3d20cca66ede253034b56246f37e8fa1011 (patch) | |
tree | 1a8250985ff1aa3b8e06e2734fad4ab741b961c2 /play.js | |
parent | aad5c0dfcec0e4eeefacb4bccce30e514d98b98c (diff) | |
download | 1989-dawn-of-freedom-a004f3d20cca66ede253034b56246f37e8fa1011.tar.gz |
use overlay for systematization instead of double sized counter
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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") |