summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--play.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/play.js b/play.js
index 8bdef4c..b9eb5d3 100644
--- a/play.js
+++ b/play.js
@@ -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)
}
}