Remove depth setting in SectionsContainer and profile.

This commit is contained in:
Huo Yaoyuan
2017-08-05 18:01:10 +08:00
parent 0312103546
commit 8843d97895
2 changed files with 3 additions and 7 deletions

View File

@ -128,13 +128,11 @@ namespace osu.Game.Graphics.Containers
RelativeSizeAxes = Axes.Both,
Masking = true,
ScrollbarVisible = false,
Children = new Drawable[] { scrollContentContainer = CreateScrollContentContainer() },
Depth = float.MaxValue
Children = new Drawable[] { scrollContentContainer = CreateScrollContentContainer() }
});
AddInternal(headerBackgroundContainer = new Container
{
RelativeSizeAxes = Axes.X,
Depth = float.MaxValue / 2
RelativeSizeAxes = Axes.X
});
originalSectionsMargin = scrollContentContainer.Margin;
}