summaryrefslogtreecommitdiff
path: root/play.js
diff options
context:
space:
mode:
Diffstat (limited to 'play.js')
-rw-r--r--play.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/play.js b/play.js
index 4b1edc6..311572e 100644
--- a/play.js
+++ b/play.js
@@ -538,12 +538,16 @@ function layout_stability_marker() {
ui.stability.style.top = y - 25 + "px"
}
-let TST_X = [ 0, 53, 53 + 69, 53 + 69 * 2, 53 + 69 * 3, 53 + 69 * 4, 53 + 69 * 5, 53 + 69 * 6, 556 ]
+let TST_X = [ 53, 53, 53 + 69, 53 + 69 * 2, 53 + 69 * 3, 53 + 69 * 4, 53 + 69 * 5, 53 + 69 * 6, 556 ]
let TST_Y = [ 2128, 2257 ]
function layout_tst_marker(e, v, top) {
let x = TST_X[v] + 24
let y = TST_Y[top] + 24
+ if (v === 0) {
+ x -= 40
+ y -= 10
+ }
e.style.left = x - 25 + "px"
e.style.top = y - 25 + "px"
}