Skip to content

Commit

Permalink
Fix results screen fetching more scores twice
Browse files Browse the repository at this point in the history
  • Loading branch information
frenzibyte committed Jul 25, 2024
1 parent f3dd1fa commit 615f07d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion osu.Game/Screens/Ranking/ResultsScreen.cs
Original file line number Diff line number Diff line change
Expand Up @@ -267,7 +267,8 @@ private void fetchScoresCallback(IEnumerable<ScoreInfo> scores) => Schedule(() =
foreach (var s in scores)
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)
{
Expand Down

0 comments on commit 615f07d

Please sign in to comment.