mirror of
https://github.com/ppy/osu.git
synced 2024-11-06 09:07:25 +08:00
Replace not Filtered with Visible
This commit is contained in:
parent
843e9c53c0
commit
1a8471bc37
@ -133,7 +133,7 @@ namespace osu.Game.Tests.Visual
|
|||||||
var currentlySelected = carousel.Items.FirstOrDefault(s => s.Item is CarouselBeatmap && s.Item.State == CarouselItemState.Selected);
|
var currentlySelected = carousel.Items.FirstOrDefault(s => s.Item is CarouselBeatmap && s.Item.State == CarouselItemState.Selected);
|
||||||
if (currentlySelected == null)
|
if (currentlySelected == null)
|
||||||
return true;
|
return true;
|
||||||
return !currentlySelected.Item.Filtered;
|
return currentlySelected.Item.Visible;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void checkInvisibleDifficultiesUnselectable()
|
private void checkInvisibleDifficultiesUnselectable()
|
||||||
|
Loading…
Reference in New Issue
Block a user