diff options
author | Tor Andersson <tor@ccxvii.net> | 2023-04-18 11:46:07 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-05-03 18:48:16 +0200 |
commit | eb5bc4507bb8546605f051ca6acde1b136c02085 (patch) | |
tree | bdaf1f2b0c4c1d51938ea4c2714d8b12a8dd9e8e /play.js | |
parent | ba60714ad6aeffda1361f2341c550d4dd4abf3e4 (diff) | |
download | andean-abyss-eb5bc4507bb8546605f051ca6acde1b136c02085.tar.gz |
Put cards along right side of map if zoomed out / wide screen.
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -369,6 +369,11 @@ function is_action(action, arg) { return !!(view.actions && view.actions[action] && set_has(view.actions[action], arg)) } +function toggle_zoom2() { + document.querySelector("main").classList.toggle("fit") + toggle_zoom() +} + function toggle_pieces() { if (ui.map.classList.contains("hide_tokens")) { ui.map.classList.remove("hide_tokens") |