Move title specification for settings groups to constructor

Using an abstract property was awkward for this as it is being consumed
in the underlying constructor but could not be dynamically set in time from a
derived class.
This commit is contained in:
Dean Herbert
2020-09-09 18:48:02 +09:00
parent b79e9791c3
commit d3957e6155
9 changed files with 27 additions and 20 deletions

View File

@ -48,7 +48,10 @@ namespace osu.Game.Tests.Visual.Gameplay
private class ExampleContainer : PlayerSettingsGroup
{
protected override string Title => @"example";
public ExampleContainer()
: base("example")
{
}
}
}
}