diff options
author | Tor Andersson <tor@ccxvii.net> | 2024-11-02 20:36:16 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2024-11-02 20:36:39 +0100 |
commit | 1d073110c0937e2a057efd0eeeef5223036c1187 (patch) | |
tree | 696edad37a9038ae2257cacbb42fe1c1b90c827d /play.js | |
parent | 1640855336f524cf44f61571b0bb25c10f70c34b (diff) | |
download | 1989-dawn-of-freedom-1d073110c0937e2a057efd0eeeef5223036c1187.tar.gz |
Highlight selected space.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -715,6 +715,9 @@ 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) + ui.spaces[s].classList.toggle("selected", view.selected_space === s) + action_button("yes", "Yes") action_button("no", "No") action_button("start", "Start") |