diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-10-30 12:50:42 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-10-30 12:52:47 +0100 |
commit | e2f4af7e507a37593c6227ee2129df4682806e74 (patch) | |
tree | c4ae6951af78294207cf08368c7a6d9925554e45 /play.js | |
parent | 14bc6cde4ee2c95c3df9695b1ee379c5fd939d84 (diff) | |
download | algeria-e2f4af7e507a37593c6227ee2129df4682806e74.tar.gz |
always show available/eliminated force panels
avoids funky animations when they are toggled on and off.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -641,9 +641,11 @@ function update_map() { } // Hide supply panels when empty + /* ui.fln_supply_panel.classList.toggle("hide", !(ui.fln_supply.childNodes.length - 1)) ui.gov_supply_panel.classList.toggle("hide", !(ui.gov_supply.childNodes.length - 1)) ui.eliminated_panel.classList.toggle("hide", !(ui.eliminated.childNodes.length - 1)) + */ for (let i = 0; i < ui.areas.length; ++i) { let e = ui.areas[i] |