diff options
author | Tor Andersson <tor@ccxvii.net> | 2022-12-21 17:41:36 +0100 |
---|---|---|
committer | Tor Andersson <tor@ccxvii.net> | 2023-02-18 13:02:38 +0100 |
commit | 81188bb24d20f23ff4b7cff37bb17ee7d1b24bd8 (patch) | |
tree | d62a0765185d05d2e5b4c67edf666f4cdc161a19 | |
parent | a5977fb9406897fda606694c9497565df82c4f8e (diff) | |
download | nevsky-81188bb24d20f23ff4b7cff37bb17ee7d1b24bd8.tar.gz |
Fix layout of locale markers.
-rw-r--r-- | play.js | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1517,8 +1517,8 @@ function build_map() { // Locale Markers e = ui.locale_markers[ix] = document.createElement("div") e.className = "locale_markers " + locale.type + " " + region - x = xc - 196/2 - y = y - 8 + x = locale_xy[ix][0] - 196/2 + y = locale_xy[ix][1] + 36 e.style.top = y + "px" e.style.left = x + "px" e.style.width = 196 + "px" |