mirror of
https://github.com/ppy/osu.git
synced 2025-01-26 19:32:55 +08:00
Use ToUpperInvariant
for added safety
Co-authored-by: Bartłomiej Dach <dach.bartlomiej@gmail.com>
This commit is contained in:
parent
677b8d09f8
commit
849b50a38f
@ -234,7 +234,7 @@ namespace osu.Game.Screens.Edit.Compose.Components
|
||||
X = 10,
|
||||
Y = -1,
|
||||
Font = OsuFont.Default.With(weight: FontWeight.Bold, size: 20),
|
||||
Text = $"{char.ToUpper(sampleName.First())}"
|
||||
Text = $"{char.ToUpperInvariant(sampleName.First())}"
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user