1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 13:37:25 +08:00

Adjust health bar settings on default components initialiser to match new layout

This commit is contained in:
Salman Ahmed 2023-11-07 00:48:51 +03:00
parent 634795e45f
commit 01e59d134a

View File

@ -128,9 +128,11 @@ namespace osu.Game.Skinning
// elements default to beneath the health bar
const float components_x_offset = 50;
health.Anchor = Anchor.TopCentre;
health.Origin = Anchor.TopCentre;
health.Y = 15;
health.Anchor = Anchor.TopLeft;
health.Origin = Anchor.TopLeft;
health.BarLength.Value = 0.22f;
health.BarHeight.Value = 30f;
health.Position = new Vector2(components_x_offset, 20f);
if (scoreWedge != null)
{