diff options
author | teisuru <31881306+teisuru@users.noreply.github.com> | 2023-08-22 16:21:38 +0200 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-12-10 18:16:55 +0100 |
commit | 00ae6d53325fdbe0cd42c0e1b6a0bafc9633a242 (patch) | |
tree | 0bf1c12a273a32484f1a6ac87bffd4aaa15c4a21 /play.js | |
parent | 13120044a829556a4b430539635c7c81741fed53 (diff) | |
download | plantagenet-00ae6d53325fdbe0cd42c0e1b6a0bafc9633a242.tar.gz |
boxes on map
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -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) }) |