1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-11 15:47:26 +08:00

Fix accuracy break info decimal separator being incorrect in certain languages

This commit is contained in:
Joseph Madamba 2023-07-28 23:22:28 -07:00
parent a7ff084be2
commit a3301dc7ff

View File

@ -58,7 +58,7 @@ namespace osu.Game.Screens.Play.Break
private void currentValueChanged(ValueChangedEvent<T> e)
{
string newText = prefix + Format(e.NewValue);
LocalisableString newText = LocalisableString.Interpolate($"{prefix}{Format(e.NewValue)}");
if (valueText.Text == newText)
return;