1
0
mirror of https://github.com/ppy/osu.git synced 2025-01-28 18:12:56 +08:00

Schedule continuation

This commit is contained in:
smoogipoo 2020-06-22 23:22:49 +09:00
parent cb03e6faa9
commit 1bf00e0c82

View File

@ -86,7 +86,7 @@ namespace osu.Game.Screens.Ranking.Statistics
Task.Run(() => Task.Run(() =>
{ {
playableBeatmap = beatmapManager.GetWorkingBeatmap(newScore.Beatmap).GetPlayableBeatmap(newScore.Ruleset, newScore.Mods ?? Array.Empty<Mod>()); playableBeatmap = beatmapManager.GetWorkingBeatmap(newScore.Beatmap).GetPlayableBeatmap(newScore.Ruleset, newScore.Mods ?? Array.Empty<Mod>());
}, loadCancellation.Token).ContinueWith(t => }, loadCancellation.Token).ContinueWith(t => Schedule(() =>
{ {
var rows = new FillFlowContainer var rows = new FillFlowContainer
{ {
@ -125,7 +125,7 @@ namespace osu.Game.Screens.Ranking.Statistics
spinner.Hide(); spinner.Hide();
content.Add(d); content.Add(d);
}, localCancellationSource.Token); }, localCancellationSource.Token);
}, localCancellationSource.Token); }), localCancellationSource.Token);
} }
} }