diff options
author | Tor Andersson <tor@ccxvii.net> | 2021-05-01 22:02:52 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2022-11-17 12:53:17 +0100 |
commit | c16e1df65045bcf5a5eef2a1535c39017d0aa328 (patch) | |
tree | 17580e5c87eee589e146d7b7b3a2888b8ed8384e | |
parent | dfaac7643a383491006c2c72a054336e967f8cd3 (diff) | |
download | hammer-of-the-scots-c16e1df65045bcf5a5eef2a1535c39017d0aa328.tar.gz |
hammer: Tweak block alignment within areas.
Shift blocks in small areas away from each other.
-rw-r--r-- | ui.js | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -425,10 +425,26 @@ function position_block(location, row, n_rows, col, n_cols, element) { layout_major = 1; layout_minor = 1; break; + case "Argyll": + layout_major = 0.5; + layout_minor = 1.0; + break; + case "Carrick": + layout_major = 0.75; + layout_minor = 0.5; + break; + case "Dunbar": + layout_major = 0.25; + layout_minor = 0.75; + break; case "Fife": layout_major = 0.25; layout_minor = 0.5; break; + case "Lennox": + layout_major = 0.75; + layout_minor = 0.75; + break; case "Mentieth": layout_major = 0.5; layout_minor = 0.25; |