mirror of https://github.com/ppy/osu
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 @@ private Drawable createStatistic(HitResultDisplayStatistic result)
|
|||
{
|
||||
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