1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 06:29:52 +08:00

Center the star rating display text rather than left

This commit is contained in:
Salman Ahmed
2021-08-18 11:49:33 +03:00
Unverified
parent 5e91ec73e3
commit d2df09432f
@@ -105,8 +105,8 @@ namespace osu.Game.Beatmaps.Drawables
Empty(),
starsText = new OsuSpriteText
{
Anchor = Anchor.CentreLeft,
Origin = Anchor.CentreLeft,
Anchor = Anchor.Centre,
Origin = Anchor.Centre,
Margin = new MarginPadding { Bottom = 1.5f },
// todo: this should be size: 12f, but to match up with the design, it needs to be 14.4f
// see https://github.com/ppy/osu-framework/issues/3271.