From c16e1df65045bcf5a5eef2a1535c39017d0aa328 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Sat, 1 May 2021 22:02:52 +0200 Subject: hammer: Tweak block alignment within areas. Shift blocks in small areas away from each other. --- ui.js | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/ui.js b/ui.js index 5557a18..683f0af 100644 --- a/ui.js +++ b/ui.js @@ -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; -- cgit v1.2.3