summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/play.js b/play.js
index 05961fa..5b31b40 100644
--- a/play.js
+++ b/play.js
@@ -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")