mirror of
https://github.com/ppy/osu.git
synced 2025-01-28 18:12:56 +08:00
Schedule continuation
This commit is contained in:
parent
cb03e6faa9
commit
1bf00e0c82
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user