summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-08-27 20:03:09 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commite7152b3990ec32f773545d0bfb3193a5cfe62978 (patch)
treeed51785937b88be60d148475c48d4576f34bd27c /play.js
parent6c1a57c2b67f3fe191dda2ef7793b04f54acad90 (diff)
downloadplantagenet-e7152b3990ec32f773545d0bfb3193a5cfe62978.tar.gz
update seat graphic 2
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/play.js b/play.js
index 40ff74e..635e75e 100644
--- a/play.js
+++ b/play.js
@@ -711,15 +711,15 @@ function build_map() {
let { x, y, w, h } = seat.box
let xc = Math.round(x + w / 2)
let yc = Math.round(y + h / 2)
- let small = 50
+ let small = 45
locale_xy[ix] = [ xc, yc ]
e.className = "marker " + seat.name
e.style.position = "absolute"
e.style.top = y + "px"
e.style.left = x + "px"
- e.style.width = 50 + "px"
- e.style.height = 50 + "px"
+ e.style.width = 45 + "px"
+ e.style.height = 45 + "px"
e.style.backgroundSize = small + "px"
e.style.transform = "rotate(315deg)"
document.getElementById("pieces").appendChild(e)