From 0f682a21be4c671b85a0a7858fe3a5e9e3269f1b Mon Sep 17 00:00:00 2001 From: yukirij Date: Fri, 16 Aug 2024 20:55:27 -0700 Subject: [PATCH] Move player handle position. --- www/js/interface.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/www/js/interface.js b/www/js/interface.js index fd34656..24b6cdd 100644 --- a/www/js/interface.js +++ b/www/js/interface.js @@ -465,11 +465,11 @@ const INTERFACE = { let handle_pos = [ new MATH.Vec2( - basis_x + (radius * 9), + basis_x + (radius * 10.75), basis_y - (12 * gui_scale) ), new MATH.Vec2( - basis_x + (radius * 9), + basis_x + (radius * 10.75), basis_y + (4 * gui_scale) ), ]; @@ -482,7 +482,7 @@ const INTERFACE = { ctx.fillStyle = INTERFACE.Color.Dawn; ctx.textBaseline = "middle"; - ctx.textAlign = "left"; + ctx.textAlign = "center"; 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 = "left"; + ctx.textAlign = "center"; ctx.fillText(INTERFACE_DATA.handles[1], pos.x, pos.y); }