1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-16 11:13:02 +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(), Empty(),
starsText = new OsuSpriteText starsText = new OsuSpriteText
{ {
Anchor = Anchor.CentreLeft, Anchor = Anchor.Centre,
Origin = Anchor.CentreLeft, Origin = Anchor.Centre,
Margin = new MarginPadding { Bottom = 1.5f }, 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 // 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. // see https://github.com/ppy/osu-framework/issues/3271.