Use content instead of exposing the flow container

This commit is contained in:
Dean Herbert
2020-10-06 19:26:57 +09:00
parent 064d081138
commit 06a51297a3
3 changed files with 6 additions and 7 deletions

View File

@ -20,7 +20,7 @@ namespace osu.Game.Screens.Edit.Setup
[BackgroundDependencyLoader]
private void load()
{
Flow.Children = new Drawable[]
Children = new Drawable[]
{
new OsuSpriteText
{
@ -52,7 +52,7 @@ namespace osu.Game.Screens.Edit.Setup
},
};
foreach (var item in Flow.OfType<LabelledTextBox>())
foreach (var item in Children.OfType<LabelledTextBox>())
item.OnCommit += onCommit;
}