Reorder parameters

This commit is contained in:
smoogipoo
2019-11-08 12:55:22 +09:00
parent 30f877c4ab
commit 0a15a13fab
4 changed files with 22 additions and 13 deletions

View File

@ -53,12 +53,12 @@ namespace osu.Game.Tests.Visual.UserInterface
private class TestMenuItem : StatefulMenuItem<TestStates>
{
public TestMenuItem(string text, MenuItemType type = MenuItemType.Standard)
: base(text, type)
: this(text, type, null)
{
}
public TestMenuItem(string text, MenuItemType type, Func<TestStates, TestStates> changeStateFunc)
: base(text, type, changeStateFunc)
: base(text, changeStateFunc, type)
{
}