From e7152b3990ec32f773545d0bfb3193a5cfe62978 Mon Sep 17 00:00:00 2001 From: teisuru <31881306+teisuru@users.noreply.github.com> Date: Sun, 27 Aug 2023 20:03:09 +0200 Subject: update seat graphic 2 --- play.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'play.js') 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) -- cgit v1.2.3