summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorteisuru <31881306+teisuru@users.noreply.github.com>2023-08-22 16:21:38 +0200
committerTor Andersson <tor@ccxvii.net>2023-12-10 18:16:55 +0100
commit00ae6d53325fdbe0cd42c0e1b6a0bafc9633a242 (patch)
tree0bf1c12a273a32484f1a6ac87bffd4aaa15c4a21 /play.js
parent13120044a829556a4b430539635c7c81741fed53 (diff)
downloadplantagenet-00ae6d53325fdbe0cd42c0e1b6a0bafc9633a242.tar.gz
boxes on map
Diffstat (limited to 'play.js')
-rw-r--r--play.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/play.js b/play.js
index 416dec1..0d66eb5 100644
--- a/play.js
+++ b/play.js
@@ -680,12 +680,12 @@ function build_map() {
// Locale Markers
e = ui.locale_markers[ix] = document.createElement("div")
- e.className = "locale_markers " + locale.type + " " + region
- x = locale_xy[ix][0] - 196/2
- y = locale_xy[ix][1] + 36
+ e.className = "locale rose favour " + locale.name
e.style.top = y + "px"
e.style.left = x + "px"
- e.style.width = 196 + "px"
+ e.style.width = w + "px"
+ e.style.height = h + "px"
+ e.style.border = "2px solid aqua"
document.getElementById("pieces").appendChild(e)
})