From 0c887d3a465a9a4c94055ee78706f7e54c5d0633 Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Thu, 2 Feb 2017 19:24:43 +0900 Subject: [PATCH] Fix deselected group remaining visible after search. --- osu.Game/Screens/Select/CarouselContainer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/osu.Game/Screens/Select/CarouselContainer.cs b/osu.Game/Screens/Select/CarouselContainer.cs index 4798e9b491..a0996c3a4b 100644 --- a/osu.Game/Screens/Select/CarouselContainer.cs +++ b/osu.Game/Screens/Select/CarouselContainer.cs @@ -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;