Implement settings keywords

This commit is contained in:
Andrei Zavatski
2019-11-20 19:27:34 +03:00
parent a81c26577d
commit e820ddd3e8
10 changed files with 35 additions and 9 deletions

View File

@ -76,7 +76,12 @@ namespace osu.Game.Overlays.Settings
}
}
public virtual IEnumerable<string> FilterTerms => new[] { LabelText };
public virtual IEnumerable<string> FilterTerms => Keywords == null ? new[] { LabelText } : new List<string>(Keywords)
{
LabelText
}.ToArray();
public IEnumerable<string> Keywords { get; set; }
public bool MatchingFilter
{