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