Apply adjustments for framework changes

This commit is contained in:
smoogipoo 2019-10-23 14:04:06 +09:00
parent 75beba66d5
commit 851773a842
4 changed files with 5 additions and 5 deletions

View File

@ -17,7 +17,7 @@
namespace osu.Game.Graphics.UserInterface
{
public class OsuSliderBar<T> : SliderBar<T>, IHasTooltip, IHasAccentColour
where T : struct, IEquatable<T>, IComparable, IConvertible
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
/// <summary>
/// Maximum number of decimal digits to be displayed in the tooltip.

View File

@ -8,12 +8,12 @@
namespace osu.Game.Overlays.Settings
{
public class SettingsSlider<T> : SettingsSlider<T, OsuSliderBar<T>>
where T : struct, IEquatable<T>, IComparable, IConvertible
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
}
public class SettingsSlider<T, U> : SettingsItem<T>
where T : struct, IEquatable<T>, IComparable, IConvertible
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
where U : OsuSliderBar<T>, new()
{
protected override Drawable CreateControl() => new U

View File

@ -10,7 +10,7 @@
namespace osu.Game.Screens.Edit
{
public class BindableBeatDivisor : BindableNumber<int>
public class BindableBeatDivisor : BindableInt
{
public static readonly int[] VALID_DIVISORS = { 1, 2, 3, 4, 6, 8, 12, 16 };

View File

@ -11,7 +11,7 @@
namespace osu.Game.Screens.Play.PlayerSettings
{
public class PlayerSliderBar<T> : SettingsSlider<T>
where T : struct, IEquatable<T>, IComparable, IConvertible
where T : struct, IEquatable<T>, IComparable<T>, IConvertible
{
public OsuSliderBar<T> Bar => (OsuSliderBar<T>)Control;