mirror of
https://github.com/ppy/osu.git
synced 2025-03-22 21:00:33 +08:00
Hook up collection filter
This commit is contained in:
parent
bb090a55e0
commit
9dde37fe40
@ -60,6 +60,9 @@ namespace osu.Game.Screens.Select.Carousel
|
||||
match &= terms.Any(term => term.IndexOf(criteriaTerm, StringComparison.InvariantCultureIgnoreCase) >= 0);
|
||||
}
|
||||
|
||||
if (match)
|
||||
match &= criteria.Collection?.ContainsBeatmap(Beatmap) ?? true;
|
||||
|
||||
Filtered.Value = !match;
|
||||
}
|
||||
|
||||
|
@ -51,6 +51,8 @@ namespace osu.Game.Screens.Select
|
||||
}
|
||||
}
|
||||
|
||||
public FilterControl.CollectionFilter Collection;
|
||||
|
||||
public struct OptionalRange<T> : IEquatable<OptionalRange<T>>
|
||||
where T : struct
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user