mirror of
https://github.com/osukey/osukey.git
synced 2025-08-06 08:03:52 +09:00
Use explicit culture info rather than null
This commit is contained in:
@ -2,6 +2,7 @@
|
|||||||
// See the LICENCE file in the repository root for full licence text.
|
// See the LICENCE file in the repository root for full licence text.
|
||||||
|
|
||||||
using System;
|
using System;
|
||||||
|
using System.Globalization;
|
||||||
using osu.Framework.Localisation;
|
using osu.Framework.Localisation;
|
||||||
using osu.Game.Graphics.UserInterface;
|
using osu.Game.Graphics.UserInterface;
|
||||||
|
|
||||||
@ -13,6 +14,6 @@ namespace osu.Game.Overlays.Settings.Sections
|
|||||||
internal class SizeSlider<T> : OsuSliderBar<T>
|
internal class SizeSlider<T> : OsuSliderBar<T>
|
||||||
where T : struct, IEquatable<T>, IComparable<T>, IConvertible, IFormattable
|
where T : struct, IEquatable<T>, IComparable<T>, IConvertible, IFormattable
|
||||||
{
|
{
|
||||||
public override LocalisableString TooltipText => Current.Value.ToString(@"0.##x", null);
|
public override LocalisableString TooltipText => Current.Value.ToString(@"0.##x", NumberFormatInfo.CurrentInfo);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user