mirror of
https://github.com/ppy/osu.git
synced 2025-01-15 15:12: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)
|
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.State = BeatmapGroupState.Collapsed;
|
||||||
|
|
||||||
SelectedGroup = group;
|
SelectedGroup = group;
|
||||||
|
Loading…
Reference in New Issue
Block a user