mirror of
https://github.com/ppy/osu.git
synced 2025-02-16 08:02:54 +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,
|
||||
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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user