mirror of
https://github.com/ppy/osu.git
synced 2025-01-14 22:42:57 +08:00
Fix deselected group remaining visible after search.
This commit is contained in:
parent
aec84ae725
commit
0c887d3a46
@ -173,7 +173,7 @@ namespace osu.Game.Screens.Select
|
||||
|
||||
public void SelectGroup(BeatmapGroup group, BeatmapPanel panel, bool animated = true)
|
||||
{
|
||||
if (SelectedGroup != null && SelectedGroup != group)
|
||||
if (SelectedGroup != null && SelectedGroup != group && SelectedGroup.State != BeatmapGroupState.Hidden)
|
||||
SelectedGroup.State = BeatmapGroupState.Collapsed;
|
||||
|
||||
SelectedGroup = group;
|
||||
|
Loading…
Reference in New Issue
Block a user