mirror of
https://github.com/ppy/osu.git
synced 2025-02-13 15:43:21 +08:00
Fix incorrect changes around success callback refactor
This commit is contained in:
parent
f0ad7a97cb
commit
d5158d1035
@ -113,8 +113,11 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
setPositions(lowerScores, userScore.Position.Value, 1);
|
||||
}
|
||||
|
||||
Schedule(() => PerformSuccessCallback(scoresCallback, allScores));
|
||||
hideLoadingSpinners();
|
||||
Schedule(() =>
|
||||
{
|
||||
PerformSuccessCallback(scoresCallback, allScores);
|
||||
hideLoadingSpinners();
|
||||
});
|
||||
};
|
||||
|
||||
// On failure, fallback to a normal index.
|
||||
@ -169,7 +172,7 @@ namespace osu.Game.Screens.OnlinePlay.Playlists
|
||||
Schedule(() =>
|
||||
{
|
||||
PerformSuccessCallback(scoresCallback, r.Scores, r);
|
||||
hideLoadingSpinners(pivot);
|
||||
hideLoadingSpinners(r);
|
||||
});
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user