Make simple OsuMenuItem ctor invoke the complex one

This commit is contained in:
smoogipoo 2019-11-07 16:04:13 +09:00
parent 20d6eceecf
commit 29672c48e1

View File

@ -11,9 +11,8 @@ namespace osu.Game.Graphics.UserInterface
public readonly MenuItemType Type;
public OsuMenuItem(string text, MenuItemType type = MenuItemType.Standard)
: base(text)
: this(text, type, null)
{
Type = type;
}
public OsuMenuItem(string text, MenuItemType type, Action action)