Fix depth values.

This commit is contained in:
Thomas Müller
2016-11-29 20:50:12 +01:00
parent 53df2932ad
commit b12b82fdd3
15 changed files with 19 additions and 19 deletions

View File

@ -81,12 +81,12 @@ namespace osu.Game.Screens.Select
group.State = BeatmapGroupState.Collapsed;
groups.Add(group);
group.Header.Depth = scrollableContent.Children.Count();
group.Header.Depth = -scrollableContent.Children.Count();
scrollableContent.Add(group.Header);
foreach (BeatmapPanel panel in group.BeatmapPanels)
{
panel.Depth = scrollableContent.Children.Count();
panel.Depth = -scrollableContent.Children.Count();
scrollableContent.Add(panel);
}