mirror of
https://github.com/ppy/osu
synced 2024-12-16 03:45:46 +00:00
Avoid panel state changes when performing a sort.
This commit is contained in:
parent
8f3621ca24
commit
389635c7ed
@ -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);
|
||||
|
@ -396,6 +396,7 @@ namespace osu.Game.Screens.Select
|
||||
{
|
||||
beatmapGroups.Add(group);
|
||||
|
||||
group.State = BeatmapGroupState.Collapsed;
|
||||
carousel.AddGroup(group);
|
||||
|
||||
filterChanged(false, false);
|
||||
|
Loading…
Reference in New Issue
Block a user