mirror of
https://github.com/osukey/osukey.git
synced 2025-08-04 15:16:38 +09:00
Tidy up GetEnumerable
This commit is contained in:
@ -311,14 +311,8 @@ namespace osu.Game.Screens.Select
|
|||||||
SelectGroup(group, panel);
|
SelectGroup(group, panel);
|
||||||
}
|
}
|
||||||
|
|
||||||
public IEnumerator<BeatmapGroup> GetEnumerator()
|
public IEnumerator<BeatmapGroup> GetEnumerator() => groups.GetEnumerator();
|
||||||
{
|
|
||||||
return groups.GetEnumerator();
|
|
||||||
}
|
|
||||||
|
|
||||||
IEnumerator IEnumerable.GetEnumerator()
|
IEnumerator IEnumerable.GetEnumerator() => GetEnumerator();
|
||||||
{
|
|
||||||
return GetEnumerator();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user