Play first visible set in playlist when commiting in the search field.

This commit is contained in:
DrabWeb
2017-05-05 01:59:24 -03:00
parent b98ae5d7c3
commit 81d67cbe06
5 changed files with 18 additions and 1 deletions

View File

@ -22,6 +22,8 @@ namespace osu.Game.Overlays.Music
}
}
public BeatmapSetInfo FirstVisibleSet => items.Children.FirstOrDefault(i => i.MatchingCurrentFilter)?.BeatmapSetInfo;
private void itemSelected(BeatmapSetInfo b)
{
OnSelect?.Invoke(b);