Center the star rating display text rather than left

This commit is contained in:
Salman Ahmed 2021-08-18 11:49:33 +03:00
parent 5e91ec73e3
commit d2df09432f
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ public StarRatingDisplay(StarDifficulty starDifficulty, StarRatingDisplaySize si
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.