diff --git a/osu.Game/Graphics/Containers/SectionsContainer.cs b/osu.Game/Graphics/Containers/SectionsContainer.cs index fb88f842bd..99f43abe24 100644 --- a/osu.Game/Graphics/Containers/SectionsContainer.cs +++ b/osu.Game/Graphics/Containers/SectionsContainer.cs @@ -134,9 +134,14 @@ namespace osu.Game.Graphics.Containers { RelativeSizeAxes = Axes.Both, Masking = false, - Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() } + Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() }, + Depth = float.MaxValue + }); + Add(headerBackgroundContainer = new Container + { + RelativeSizeAxes = Axes.X, + Depth = float.MaxValue / 2 }); - Add(headerBackgroundContainer = new Container { RelativeSizeAxes = Axes.X }); originalSectionsMargin = sectionsContainer.Margin; }