summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-10-23 16:58:58 +0200
committerTor Andersson <tor@ccxvii.net>2023-10-27 23:58:41 +0200
commit31e0d18cc7b6d4e1ad185c2430bfbeff6a1c39a7 (patch)
tree126d43eb712c63d6c6101b69067085cac77ad62d /play.js
parentceb3e1e9f3522aaa274cca388f52e69e2de20d3c (diff)
downloadhammer-of-the-scots-31e0d18cc7b6d4e1ad185c2430bfbeff6a1c39a7.tar.gz
Tone down shadows. Square blocks. Square cards.
Diffstat (limited to 'play.js')
-rw-r--r--play.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/play.js b/play.js
index e45fa4e..09493cd 100644
--- a/play.js
+++ b/play.js
@@ -454,7 +454,7 @@ function layout_blocks(location, north, south) {
function position_block(location, row, n_rows, col, n_cols, element) {
let area = AREAS[location]
let block_size = 60+6
- let padding = 4
+ let padding = 6
let offset = block_size + padding
let row_size = (n_rows-1) * offset
let col_size = (n_cols-1) * offset