diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-23 15:03:55 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-16 19:12:55 +0100 |
commit | f99efcb30feffb03a5769da0779eae9a273e0dc3 (patch) | |
tree | 6286329e0dda5f9758816d0587f0ae8692f90eab | |
parent | 8f4b7c85dc1d8a5cee8fa546714711ae17ec8187 (diff) | |
download | richard-iii-f99efcb30feffb03a5769da0779eae9a273e0dc3.tar.gz |
Add 'shift zoom' for blocks.
-rw-r--r-- | play.html | 5 | ||||
-rw-r--r-- | ui.js | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -114,6 +114,11 @@ X.map svg path.area.highlight:hover { /* BLOCKS */ +body.shift .block.known:hover { + transform: scale(2) !important; + transition: 100ms; +} + .map div.block { position: absolute; } @@ -753,4 +753,6 @@ build_map(); drag_element_with_mouse(".battle", ".battle_header"); scroll_with_middle_mouse(".grid_center", 2); +init_map_zoom(); +init_shift_zoom(); init_client(["Lancaster", "York"]); |