mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Make simple OsuMenuItem ctor invoke the complex one
This commit is contained in:
@ -11,9 +11,8 @@ namespace osu.Game.Graphics.UserInterface
|
|||||||
public readonly MenuItemType Type;
|
public readonly MenuItemType Type;
|
||||||
|
|
||||||
public OsuMenuItem(string text, MenuItemType type = MenuItemType.Standard)
|
public OsuMenuItem(string text, MenuItemType type = MenuItemType.Standard)
|
||||||
: base(text)
|
: this(text, type, null)
|
||||||
{
|
{
|
||||||
Type = type;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public OsuMenuItem(string text, MenuItemType type, Action action)
|
public OsuMenuItem(string text, MenuItemType type, Action action)
|
||||||
|
Reference in New Issue
Block a user