mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 10:42:55 +08: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)
|
public void AddGroup(BeatmapGroup group)
|
||||||
{
|
{
|
||||||
group.State = BeatmapGroupState.Collapsed;
|
|
||||||
groups.Add(group);
|
groups.Add(group);
|
||||||
|
|
||||||
panels.Add(group.Header);
|
panels.Add(group.Header);
|
||||||
|
@ -396,6 +396,7 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
beatmapGroups.Add(group);
|
beatmapGroups.Add(group);
|
||||||
|
|
||||||
|
group.State = BeatmapGroupState.Collapsed;
|
||||||
carousel.AddGroup(group);
|
carousel.AddGroup(group);
|
||||||
|
|
||||||
filterChanged(false, false);
|
filterChanged(false, false);
|
||||||
|
Loading…
Reference in New Issue
Block a user