More osu!-side bindable fixes

This commit is contained in:
smoogipoo
2018-01-10 15:41:13 +09:00
parent 9eb4eb4b36
commit 17e7f75aca
5 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@ using osu.Framework.Graphics.Shapes;
namespace osu.Game.Graphics.UserInterface
{
public class OsuSliderBar<T> : SliderBar<T>, IHasTooltip, IHasAccentColour
where T : struct, IEquatable<T>
where T : struct, IEquatable<T>, IComparable, IConvertible
{
private SampleChannel sample;
private double lastSampleTime;
@ -69,7 +69,7 @@ namespace osu.Game.Graphics.UserInterface
if (bindableInt != null)
return bindableInt.Value.ToString("N0");
return Current.Value.ToString();
return Current.Value.ToString(CultureInfo.InvariantCulture);
}
}