From 8860eec9f9bf9972f1cacd005df64ba02f1a72ea Mon Sep 17 00:00:00 2001 From: Dean Herbert Date: Tue, 20 Jan 2026 19:20:44 +0900 Subject: [PATCH] Handle expand set logic locally rather than calling `HandleItemSelected` This avoids the implicit group expansion happening that the added code was attempting to fix. --- osu.Game/Screens/SelectV2/BeatmapCarousel.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/osu.Game/Screens/SelectV2/BeatmapCarousel.cs b/osu.Game/Screens/SelectV2/BeatmapCarousel.cs index e17fbafd64..e0f46af409 100644 --- a/osu.Game/Screens/SelectV2/BeatmapCarousel.cs +++ b/osu.Game/Screens/SelectV2/BeatmapCarousel.cs @@ -32,7 +32,6 @@ using osu.Game.Online.API; using osu.Game.Rulesets; using osu.Game.Scoring; using osu.Game.Screens.Select; -using osu.Game.Screens.Select.Filter; using Realms; namespace osu.Game.Screens.SelectV2 @@ -495,8 +494,9 @@ namespace osu.Game.Screens.SelectV2 if (groupingRemainsOff || groupStillValid) { - // Only update the visual state of the selected item. - HandleItemSelected(currentGroupedBeatmap); + // Update the visual state of the selected item if it should still be expanded post filter. + if (currentGroupedBeatmap != null && currentGroupedBeatmap.Group == groupForReselection) + setExpandedSet(new GroupedBeatmapSet(currentGroupedBeatmap.Group, currentGroupedBeatmap.Beatmap.BeatmapSet!)); } else if (currentGroupedBeatmap != null) {