1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-26 20:50:41 +08:00

Fix carousel potentially selecting filtered diff when clicking set panel

This commit is contained in:
Salman Alshamrani
2025-05-19 22:26:38 +03:00
Unverified
parent 2a70e2485b
commit e2e156c6ba
+3 -2
View File
@@ -181,8 +181,9 @@ namespace osu.Game.Screens.SelectV2
return;
case BeatmapSetInfo setInfo:
// Selecting a set isn't valid let's re-select the first difficulty.
CurrentSelection = setInfo.Beatmaps.First();
// Selecting a set isn't valid let's re-select the first visible difficulty.
if (grouping.SetItems.TryGetValue(setInfo, out var items))
CurrentSelection = items.ElementAt(1).Model;
return;
case BeatmapInfo beatmapInfo: