mirror of
https://github.com/ppy/osu.git
synced 2024-12-14 12:33:01 +08:00
reverted Beatmaps-setter back to its former glory
This commit is contained in:
parent
16b8c9bd11
commit
821154d3bb
@ -40,13 +40,16 @@ namespace osu.Game.Screens.Select
|
||||
panels.Clear();
|
||||
groups.Clear();
|
||||
|
||||
List<BeatmapGroup> newGroups = null;
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
newGroups = value.Select(createGroup).Where(g => g != null).ToList();
|
||||
criteria.Filter(newGroups);
|
||||
}).ContinueWith(t =>
|
||||
{
|
||||
Schedule(() =>
|
||||
{
|
||||
var newGroups = value.Select(createGroup).Where(g => g != null).ToList();
|
||||
criteria.Filter(newGroups);
|
||||
|
||||
foreach (var g in newGroups)
|
||||
addGroup(g);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user