diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-08-27 20:03:09 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | e7152b3990ec32f773545d0bfb3193a5cfe62978 (patch) | |
tree | ed51785937b88be60d148475c48d4576f34bd27c /play.js | |
parent | 6c1a57c2b67f3fe191dda2ef7793b04f54acad90 (diff) | |
download | plantagenet-e7152b3990ec32f773545d0bfb3193a5cfe62978.tar.gz |
update seat graphic 2
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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) |