mirror of
https://github.com/ppy/osu.git
synced 2025-02-22 03:02:55 +08:00
Fix results screen fetching more scores twice
This commit is contained in:
parent
f3dd1facf1
commit
615f07d54c
@ -267,7 +267,8 @@ namespace osu.Game.Screens.Ranking
|
|||||||
foreach (var s in scores)
|
foreach (var s in scores)
|
||||||
addScore(s);
|
addScore(s);
|
||||||
|
|
||||||
lastFetchCompleted = true;
|
// allow a frame for scroll container to adjust its dimensions with the added scores before fetching again.
|
||||||
|
Schedule(() => lastFetchCompleted = true);
|
||||||
|
|
||||||
if (ScorePanelList.IsEmpty)
|
if (ScorePanelList.IsEmpty)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user