1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-23 03:19:53 +08:00

Fix centering of labels using Height instead of location to better handle rotations

This commit is contained in:
Dean Herbert
2022-03-18 20:17:04 +09:00
Unverified
parent bd488d139d
commit ed90dc6d6b
@@ -294,20 +294,20 @@ namespace osu.Game.Screens.Play.HUD.HitErrorMeters
case LabelStyles.Text:
labelEarly = new OsuSpriteText
{
X = -1,
Y = -10,
Text = "Early",
Font = OsuFont.Default.With(size: 10),
Height = 12,
Anchor = Anchor.TopCentre,
Origin = Anchor.Centre,
};
labelLate = new OsuSpriteText
{
X = -1,
Y = 10,
Text = "Late",
Font = OsuFont.Default.With(size: 10),
Height = 12,
Anchor = Anchor.BottomCentre,
Origin = Anchor.Centre,
};