Move player handle position.

This commit is contained in:
yukirij 2024-08-16 20:30:20 -07:00
parent 21041e7476
commit e7f3760cec

View File

@ -465,12 +465,12 @@ const INTERFACE = {
let handle_pos = [
new MATH.Vec2(
basis_x + (radius * 10.5),
basis_y - (11.5 * gui_scale)
basis_x + (radius * 9),
basis_y - (12 * gui_scale)
),
new MATH.Vec2(
basis_x + (radius * 10.5),
basis_y + (3.5 * gui_scale)
basis_x + (radius * 9),
basis_y + (4 * gui_scale)
),
];
@ -482,7 +482,7 @@ const INTERFACE = {
ctx.fillStyle = INTERFACE.Color.Dawn;
ctx.textBaseline = "middle";
ctx.textAlign = "center";
ctx.textAlign = "left";
ctx.fillText(INTERFACE_DATA.handles[0], pos.x, pos.y);
}
@ -491,7 +491,7 @@ const INTERFACE = {
ctx.fillStyle = INTERFACE.Color.Dusk;
ctx.textBaseline = "middle";
ctx.textAlign = "center";
ctx.textAlign = "left";
ctx.fillText(INTERFACE_DATA.handles[1], pos.x, pos.y);
}