mirror of
https://github.com/ppy/osu.git
synced 2025-01-13 11:23:00 +08:00
Make sure stats name are title-cased when score panel is contracted
This commit is contained in:
parent
5b9be3e682
commit
6ad7723d60
@ -6,6 +6,7 @@
|
||||
using System.Linq;
|
||||
using osu.Framework.Allocation;
|
||||
using osu.Framework.Extensions.Color4Extensions;
|
||||
using osu.Framework.Extensions.LocalisationExtensions;
|
||||
using osu.Framework.Graphics;
|
||||
using osu.Framework.Graphics.Colour;
|
||||
using osu.Framework.Graphics.Containers;
|
||||
@ -214,7 +215,7 @@ namespace osu.Game.Screens.Ranking.Contracted
|
||||
{
|
||||
Anchor = Anchor.CentreLeft,
|
||||
Origin = Anchor.CentreLeft,
|
||||
Text = key,
|
||||
Text = key.ToTitle(),
|
||||
Font = OsuFont.GetFont(size: 12, weight: FontWeight.SemiBold)
|
||||
},
|
||||
new OsuSpriteText
|
||||
|
Loading…
Reference in New Issue
Block a user