summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTor Andersson <tor@ccxvii.net>2023-02-27 12:30:13 +0100
committerTor Andersson <tor@ccxvii.net>2023-02-27 12:30:13 +0100
commit5061a8a43b30fe3ae8ff29a49a097ef84cbbbccf (patch)
tree339ed95f922051edd43bea9a5e3fdb6db197ebb0
parentf88d5a8b0170d17bd56a9dc04877cf918cef5c16 (diff)
downloadnevsky-5061a8a43b30fe3ae8ff29a49a097ef84cbbbccf.tar.gz
Make sure expanded service marker stack is above cylinders on calendar.
-rw-r--r--play.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/play.js b/play.js
index 5095690..2be7276 100644
--- a/play.js
+++ b/play.js
@@ -981,8 +981,10 @@ function layout_calendar() {
let e = list[i]
let x = cx, y = cy, z = 60 - i
let d = 46 - 24
- if (loc === expand_calendar)
+ if (loc === expand_calendar) {
d = 46
+ z += 100
+ }
if (loc === 0) {
x += -6 + 46 * i
z = 1