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

Highlight maximum combo and accuracy on user best score display to match web #30346

Merged
merged 5 commits into from
Oct 21, 2024

Conversation

wezwery
Copy link
Contributor

@wezwery wezwery commented Oct 19, 2024

Issue: #30342

@wezwery wezwery changed the title Add highlight to combo and accuracy when max. Add highlight to combo and accuracy when reached maximum. Oct 19, 2024
wezwery and others added 3 commits October 19, 2024 13:41
bdach
bdach previously approved these changes Oct 21, 2024
Comment on lines +107 to +109
#pragma warning disable CS0618
if (score.MaxCombo == score.BeatmapInfo!.MaxCombo) maxComboColumn.TextColour = colours.GreenLight;
#pragma warning restore CS0618
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only reason I'm letting this deprecation bypass slide is that the other current usage of this is in essentially the same place, i.e. ScoreTable.

new StatisticText(score.MaxCombo, score.BeatmapInfo!.MaxCombo, @"0\x"),

If this were to be used literally anywhere else I'd close the PR on the spot with no discussion.

@bdach bdach changed the title Add highlight to combo and accuracy when reached maximum. Highlight maximum combo and accuracy on user best score display to match web Oct 21, 2024
@bdach bdach merged commit 455ed06 into ppy:master Oct 21, 2024
11 of 13 checks passed
@wezwery wezwery deleted the perfect-combo-and-accuracy-highlighted branch October 21, 2024 15:10
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.

3 participants