diff options
Diffstat (limited to 'play.js')
-rw-r--r-- | play.js | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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" } |