Move player handle position.

This commit is contained in:
yukirij 2024-08-16 20:55:27 -07:00
parent e7f3760cec
commit 0f682a21be

View File

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