1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-25 17:49:57 +08:00

Fix multiple incorrect behaviours due to reliance on dictionary init state

This commit is contained in:
Dean Herbert
2025-06-02 18:10:55 +09:00
Unverified
parent d819dfc180
commit ea2eded6e1
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -255,7 +255,9 @@ namespace osu.Game.Screens.SelectV2
if (containingGroup != null)
setExpandedGroup(containingGroup);
setExpandedSet(beatmapInfo);
if (grouping.BeatmapSetsGroupedTogether)
setExpandedSet(beatmapInfo);
break;
}
}
@@ -117,7 +117,7 @@ namespace osu.Game.Screens.SelectV2
currentGroupItems?.Add(i);
currentSetItems?.Add(i);
i.IsVisible = i.Model is GroupDefinition || (group == null && (i.Model is BeatmapSetInfo || currentSetItems == null));
i.IsVisible = i.Model is GroupDefinition || (group == null && (i.Model is BeatmapSetInfo || !BeatmapSetsGroupedTogether));
}
}