From 08eed041748e9e64c175d09e8877f6d4afd0cfd6 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 25 Jan 2023 20:04:13 +0100 Subject: Don't obscure legate by stacking order. --- play.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'play.js') 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 -- cgit v1.2.3