1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-18 20:30:27 +08:00

SongSelectV2: Fix incorrect selection change when filtered down to one set

This commit is contained in:
Dean Herbert
2025-06-04 21:11:38 +09:00
Unverified
parent 7e922763c1
commit f52fabbb0c
+6 -1
View File
@@ -318,7 +318,12 @@ namespace osu.Game.Screens.SelectV2
}
}
RequestRecommendedSelection(items.Select(i => i.Model).OfType<BeatmapInfo>());
var beatmaps = items.Select(i => i.Model).OfType<BeatmapInfo>();
if (beatmaps.Any(b => b.Equals(CurrentSelection as BeatmapInfo)))
return;
RequestRecommendedSelection(beatmaps);
}
protected override bool CheckValidForGroupSelection(CarouselItem item)