1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-15 06:52:56 +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
parent 5e91ec73e3
commit d2df09432f

View File

@ -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.