1
0
mirror of https://github.com/ppy/osu.git synced 2024-11-06 06:57:39 +08:00

Replace not Filtered with Visible

This commit is contained in:
Endrik Tombak 2018-01-03 15:58:09 +02:00
parent 843e9c53c0
commit 1a8471bc37

View File

@ -133,7 +133,7 @@ namespace osu.Game.Tests.Visual
var currentlySelected = carousel.Items.FirstOrDefault(s => s.Item is CarouselBeatmap && s.Item.State == CarouselItemState.Selected);
if (currentlySelected == null)
return true;
return !currentlySelected.Item.Filtered;
return currentlySelected.Item.Visible;
}
private void checkInvisibleDifficultiesUnselectable()