Fix autoproperty which doesn't work on mono.

This commit is contained in:
Dean Herbert
2017-03-09 14:25:49 +09:00
parent da751804b6
commit a048e666d7
4 changed files with 7 additions and 5 deletions

View File

@ -11,7 +11,9 @@ namespace osu.Game.Overlays.Options
{
public abstract class OptionsSubsection : FillFlowContainer
{
protected override Container<Drawable> Content { get; }
protected override Container<Drawable> Content => content;
private Container<Drawable> content;
protected abstract string Header { get; }
@ -28,7 +30,7 @@ namespace osu.Game.Overlays.Options
Margin = new MarginPadding { Bottom = 10 },
Font = @"Exo2.0-Black",
},
Content = new FillFlowContainer
content = new FillFlowContainer
{
Direction = FillDirection.Vertical,
Spacing = new Vector2(0, 5),