mirror of
https://github.com/ppy/osu.git
synced 2025-01-08 06:52:59 +08:00
Rename variable
This commit is contained in:
parent
63f6269eb0
commit
87854fc4fa
@ -266,12 +266,12 @@ namespace osu.Game.Screens.Select
|
|||||||
{
|
{
|
||||||
var visibleSets = beatmapSets.Where(s => !s.Filtered.Value).ToList();
|
var visibleSets = beatmapSets.Where(s => !s.Filtered.Value).ToList();
|
||||||
|
|
||||||
var item = visibleSets[(visibleSets.IndexOf(selectedBeatmapSet) + direction + visibleSets.Count) % visibleSets.Count];
|
var nextSet = visibleSets[(visibleSets.IndexOf(selectedBeatmapSet) + direction + visibleSets.Count) % visibleSets.Count];
|
||||||
|
|
||||||
if (skipDifficulties)
|
if (skipDifficulties)
|
||||||
select(item);
|
select(nextSet);
|
||||||
else
|
else
|
||||||
select(direction > 0 ? item.Beatmaps.First(b => !b.Filtered.Value) : item.Beatmaps.Last(b => !b.Filtered.Value));
|
select(direction > 0 ? nextSet.Beatmaps.First(b => !b.Filtered.Value) : nextSet.Beatmaps.Last(b => !b.Filtered.Value));
|
||||||
}
|
}
|
||||||
|
|
||||||
private void selectNextDifficulty(int direction)
|
private void selectNextDifficulty(int direction)
|
||||||
|
Loading…
Reference in New Issue
Block a user