mirror of
https://github.com/osukey/osukey.git
synced 2025-08-03 22:56:36 +09:00
Play first visible set in playlist when commiting in the search field.
This commit is contained in:
@ -84,6 +84,11 @@ namespace osu.Game.Overlays.Music
|
||||
list.BeatmapSets = BeatmapSets = beatmaps.GetAllWithChildren<BeatmapSetInfo>().ToList();
|
||||
|
||||
beatmapBacking.BindTo(game.Beatmap);
|
||||
|
||||
filter.Search.OnCommit = delegate {
|
||||
var beatmap = list.FirstVisibleSet?.Beatmaps?.ValueAtOrDefault(0);
|
||||
if (beatmap != null) playSpecified(beatmap);
|
||||
};
|
||||
}
|
||||
|
||||
protected override void LoadComplete()
|
||||
|
Reference in New Issue
Block a user