1
0
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:
Dean Herbert 2017-02-02 19:24:43 +09:00
parent aec84ae725
commit 0c887d3a46

View File

@ -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;