summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
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)