diff options
author | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-23 04:30:58 +0100 |
---|---|---|
committer | Mischa Untaga <99098079+MischaU8@users.noreply.github.com> | 2023-11-23 04:30:58 +0100 |
commit | 09621fa6d75997f3ce4049f36763f11108f8f214 (patch) | |
tree | 55ab4a9f005b8b7cb5281fed16e248b2849144b7 | |
parent | b5a725f13d514536350cc8cb2b726e3309790bb6 (diff) | |
download | votes-for-women-09621fa6d75997f3ce4049f36763f11108f8f214.tar.gz |
check/x offset
-rw-r--r-- | play.js | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -697,15 +697,15 @@ function on_update() { // eslint-disable-line no-unused-vars e = ui.green_checks[green_check_idx++] e.my_us_state = i e.classList.toggle("action", is_green_check_action(i)) - e.style.left = x + "px" - e.style.top = y + "px" + e.style.left = x - 21 + "px" + e.style.top = y - 16 + "px" ui.pieces.appendChild(e) } else if (is_red_x(i)) { e = ui.red_xs[red_x_idx++] e.my_us_state = i e.classList.toggle("action", is_red_x_action(i)) - e.style.left = x + "px" - e.style.top = y + "px" + e.style.left = x - 21 + "px" + e.style.top = y - 16 + "px" ui.pieces.appendChild(e) } } |