Move player handle position.
This commit is contained in:
parent
e7f3760cec
commit
0f682a21be
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user