Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix daily challenge abruptly discarding score selection when opening results screen #29058

Merged
merged 1 commit into from
Jul 25, 2024

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Jul 25, 2024

PerformSuccessCallback is called multiple times, the first time is where the target score gets selected, but it gets called another time to add more scores to the listing, at which point SelectedScore incorrectly gets overwritten.

This also resolves another bug where if you scroll to the beginning, the screen will just keep fetching scores until you get to the beginning. This is caused by the fact that there's no score selected.

Before:

CleanShot.2024-07-25.at.08.59.11.mp4

After:

CleanShot.2024-07-25.at.09.01.06.mp4

@bdach bdach merged commit 9790c5a into ppy:master Jul 25, 2024
13 checks passed
@frenzibyte frenzibyte deleted the daily-challenge-fix-score-selection branch July 25, 2024 11:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants