summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-01-25 20:04:13 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-18 13:02:39 +0100
commit08eed041748e9e64c175d09e8877f6d4afd0cfd6 (patch)
treec3fde157f856739e13db9c54b403997044383fa3 /play.js
parent2ffcab7b644e3c874f7c01f2f1d765c222db9a58 (diff)
downloadnevsky-08eed041748e9e64c175d09e8877f6d4afd0cfd6.tar.gz
Don't obscure legate by stacking order.
Diffstat (limited to 'play.js')
-rw-r--r--play.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/play.js b/play.js
index 8f4837d..99030e8 100644
--- a/play.js
+++ b/play.js
@@ -954,8 +954,10 @@ function layout_locale_cylinders(loc) {
y -= 18
z = 2
}
- if (e === ui.legate)
+ if (e === ui.legate) {
y -= 16
+ z = 3
+ }
e.style.top = (y - 23) + "px"
e.style.left = (x - 23) + "px"
e.style.zIndex = z