mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 16:25:32 +08:00
change function to a property
This commit is contained in:
parent
c3f4b1b3cb
commit
e552c39444
@ -171,6 +171,8 @@ namespace osu.Game.Screens.Select
|
||||
} while (index != startIndex);
|
||||
}
|
||||
|
||||
private IEnumerable<BeatmapGroup> getVisibleGroups() => groups.Where(selectGroup => selectGroup.State != BeatmapGroupState.Hidden);
|
||||
|
||||
public void SelectNextRandom()
|
||||
{
|
||||
randomSelectedBeatmaps.Push(selectedGroup);
|
||||
@ -221,11 +223,6 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
}
|
||||
|
||||
private IEnumerable<BeatmapGroup> getVisibleGroups()
|
||||
{
|
||||
return groups.Where(selectGroup => selectGroup.State != BeatmapGroupState.Hidden);
|
||||
}
|
||||
|
||||
private FilterCriteria criteria = new FilterCriteria();
|
||||
|
||||
private ScheduledDelegate filterTask;
|
||||
|
Loading…
Reference in New Issue
Block a user