1
0
mirror of https://github.com/ppy/osu.git synced 2024-09-22 03:27:24 +08:00

Inline content creation in base add method

This commit is contained in:
Salman Ahmed 2022-10-22 03:43:14 +03:00
parent 90a9961a69
commit b0a4cd4f30

View File

@ -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);
});
}
}
}