mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 23:12:55 +08:00
U -> T1.
This commit is contained in:
parent
ba32d50456
commit
3dee39346f
@ -43,9 +43,9 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
|
|
||||||
protected override DropdownMenuItem<T> CreateMenuItem(string text, T value) => new OsuDropdownMenuItem<T>(text, value) { AccentColour = AccentColour };
|
protected override DropdownMenuItem<T> CreateMenuItem(string text, T value) => new OsuDropdownMenuItem<T>(text, value) { AccentColour = AccentColour };
|
||||||
|
|
||||||
private class OsuDropdownMenuItem<U> : DropdownMenuItem<U>
|
private class OsuDropdownMenuItem<T1> : DropdownMenuItem<T1>
|
||||||
{
|
{
|
||||||
public OsuDropdownMenuItem(string text, U value) : base(text, value)
|
public OsuDropdownMenuItem(string text, T1 value) : base(text, value)
|
||||||
{
|
{
|
||||||
Foreground.Padding = new MarginPadding(2);
|
Foreground.Padding = new MarginPadding(2);
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private class OsuTabItem<U> : TabItem<U>
|
private class OsuTabItem<T1> : TabItem<T1>
|
||||||
{
|
{
|
||||||
private SpriteText text;
|
private SpriteText text;
|
||||||
private Box box;
|
private Box box;
|
||||||
@ -74,7 +74,7 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public new U Value
|
public new T1 Value
|
||||||
{
|
{
|
||||||
get { return base.Value; }
|
get { return base.Value; }
|
||||||
set
|
set
|
||||||
|
Loading…
Reference in New Issue
Block a user