mirror of
https://github.com/ppy/osu.git
synced 2025-03-24 19:17:20 +08:00
Inline content creation in base add method
This commit is contained in:
parent
90a9961a69
commit
b0a4cd4f30
@ -23,13 +23,13 @@ namespace osu.Game.Overlays.Changelog
|
||||
{
|
||||
RelativeSizeAxes = Axes.X;
|
||||
AutoSizeAxes = Axes.Y;
|
||||
Content = new FillFlowContainer
|
||||
|
||||
base.Content.Add(Content = new FillFlowContainer
|
||||
{
|
||||
RelativeSizeAxes = Axes.X,
|
||||
AutoSizeAxes = Axes.Y,
|
||||
Direction = FillDirection.Vertical
|
||||
};
|
||||
base.Content.Add(Content);
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user