Schedule setPerformanceValue

This commit is contained in:
Henry Lin 2022-01-21 08:54:08 +08:00
parent 6c97fbd3f2
commit e0fe8af365

View File

@ -46,7 +46,7 @@ namespace osu.Game.Screens.Ranking.Expanded.Statistics
{
new PerformanceBreakdownCalculator(beatmapManager, difficultyCache, performanceCache)
.CalculateAsync(score, cancellationTokenSource.Token)
.ContinueWith(t => setPerformanceValue(t.GetResultSafely()));
.ContinueWith(t => Schedule(() => setPerformanceValue(t.GetResultSafely())));
}
private void setPerformanceValue(PerformanceBreakdown breakdown)