summaryrefslogtreecommitdiff
path: root/ui.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2021-05-23 15:03:55 +0200
committerTor Andersson <tor@ccxvii.net>2022-11-16 19:08:56 +0100
commitc7a7a9376cb661dd14887e2f9d3889674b37cac9 (patch)
tree69857538ab997235894842138bee363ffd60400a /ui.js
parentace58ffddf8edaeb7f2cd73fc655e0475a720f25 (diff)
downloadjulius-caesar-c7a7a9376cb661dd14887e2f9d3889674b37cac9.tar.gz
Add 'shift zoom' for blocks.
Diffstat (limited to 'ui.js')
-rw-r--r--ui.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui.js b/ui.js
index 3bea29b..9970ea2 100644
--- a/ui.js
+++ b/ui.js
@@ -775,5 +775,6 @@ document.querySelector(".battle").classList.add(label_style+'-labels');
drag_element_with_mouse(".battle", ".battle_header");
scroll_with_middle_mouse(".grid_center");
-
+init_map_zoom();
+init_shift_zoom();
init_client([ "Caesar", "Pompeius" ]);