mirror of
https://github.com/ppy/osu.git
synced 2025-02-21 13:33:21 +08:00
Fix depth in SectiondContainer.
This commit is contained in:
parent
e3cdb9f6fe
commit
5033526070
@ -134,9 +134,14 @@ namespace osu.Game.Graphics.Containers
|
|||||||
{
|
{
|
||||||
RelativeSizeAxes = Axes.Both,
|
RelativeSizeAxes = Axes.Both,
|
||||||
Masking = false,
|
Masking = false,
|
||||||
Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() }
|
Children = new Drawable[] { sectionsContainer = CreateScrollContentContainer() },
|
||||||
|
Depth = float.MaxValue
|
||||||
|
});
|
||||||
|
Add(headerBackgroundContainer = new Container<Drawable>
|
||||||
|
{
|
||||||
|
RelativeSizeAxes = Axes.X,
|
||||||
|
Depth = float.MaxValue / 2
|
||||||
});
|
});
|
||||||
Add(headerBackgroundContainer = new Container<Drawable> { RelativeSizeAxes = Axes.X });
|
|
||||||
originalSectionsMargin = sectionsContainer.Margin;
|
originalSectionsMargin = sectionsContainer.Margin;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user