mirror of
https://github.com/ppy/osu.git
synced 2025-02-15 21:42:55 +08:00
Change switch
to simple conditional for now
This commit is contained in:
parent
9d979dc3f4
commit
3da615481e
@ -51,16 +51,7 @@ namespace osu.Game.Screens.SelectV2
|
|||||||
HashSet<CarouselItem>? groupRefItems = null;
|
HashSet<CarouselItem>? groupRefItems = null;
|
||||||
HashSet<CarouselItem>? setRefItems = null;
|
HashSet<CarouselItem>? setRefItems = null;
|
||||||
|
|
||||||
switch (criteria.Group)
|
BeatmapSetsGroupedTogether = criteria.Group != GroupMode.Difficulty;
|
||||||
{
|
|
||||||
default:
|
|
||||||
BeatmapSetsGroupedTogether = true;
|
|
||||||
break;
|
|
||||||
|
|
||||||
case GroupMode.Difficulty:
|
|
||||||
BeatmapSetsGroupedTogether = false;
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach (var item in items)
|
foreach (var item in items)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user