Reverse depth of profile sections to allow for overflowing expanded beatmap cards

Closes #21554.
This commit is contained in:
Dean Herbert 2022-12-07 16:31:24 +09:00
parent 0497e433b1
commit 62b0436bcf
1 changed files with 3 additions and 1 deletions

View File

@ -205,7 +205,9 @@ public ProfileSectionsContainer()
protected override UserTrackingScrollContainer CreateScrollContainer() => new OverlayScrollContainer();
protected override FlowContainer<ProfileSection> CreateScrollContentContainer() => new FillFlowContainer<ProfileSection>
// Reverse child ID is required so expanding beatmap panels can appear above sections below them.
// This can also be done by setting Depth when adding new sections above if using ReverseChildID turns out to have any issues.
protected override FlowContainer<ProfileSection> CreateScrollContentContainer() => new ReverseChildIDFillFlowContainer<ProfileSection>
{
Direction = FillDirection.Vertical,
AutoSizeAxes = Axes.Y,