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:
@@ -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));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user