mirror of
https://github.com/ppy/osu
synced 2025-02-02 03:11:58 +00:00
Make simple OsuMenuItem ctor invoke the complex one
This commit is contained in:
parent
20d6eceecf
commit
29672c48e1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user