Avoid panel state changes when performing a sort.

This commit is contained in:
Dean Herbert 2017-03-04 22:05:16 +09:00
parent 8f3621ca24
commit 389635c7ed
No known key found for this signature in database
GPG Key ID: 46D71BF4958ABB49
2 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,6 @@ namespace osu.Game.Screens.Select
public void AddGroup(BeatmapGroup group)
{
group.State = BeatmapGroupState.Collapsed;
groups.Add(group);
panels.Add(group.Header);

View File

@ -396,6 +396,7 @@ namespace osu.Game.Screens.Select
{
beatmapGroups.Add(group);
group.State = BeatmapGroupState.Collapsed;
carousel.AddGroup(group);
filterChanged(false, false);