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-17 12:53:17 +0100
commitef5b4b013a1f61290da87cf03e274f77a5389110 (patch)
treee84797d94f9aec47d080863001768b0f1d8215e7 /ui.js
parent73f9cd56a4c0a546af6d99afa8fc4bb629a85a3e (diff)
downloadhammer-of-the-scots-ef5b4b013a1f61290da87cf03e274f77a5389110.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 d974e5f..d7655c1 100644
--- a/ui.js
+++ b/ui.js
@@ -757,5 +757,6 @@ function on_update(state, player) {
drag_element_with_mouse(".battle", ".battle_header");
drag_element_with_mouse(".herald", ".herald_header");
scroll_with_middle_mouse(".grid_center", 2);
-
+init_map_zoom();
+init_shift_zoom();
init_client([ "England", "Scotland" ]);