mirror of
https://github.com/ppy/osu.git
synced 2024-12-15 01:52:55 +08:00
Select recommended beatmap if last selection is filtered
This commit is contained in:
parent
1d92800761
commit
c25e2c3dd5
@ -45,7 +45,7 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
|
||||
protected override CarouselItem GetNextToSelect()
|
||||
{
|
||||
if (LastSelected == null)
|
||||
if (LastSelected == null || LastSelected.Filtered.Value)
|
||||
{
|
||||
if (GetRecommendedBeatmap?.Invoke(Children.OfType<CarouselBeatmap>().Where(b => !b.Filtered.Value).Select(b => b.Beatmap)) is BeatmapInfo recommended)
|
||||
return Children.OfType<CarouselBeatmap>().First(b => b.Beatmap == recommended);
|
||||
|
Loading…
Reference in New Issue
Block a user