Skip to content

Fix accuracy break info decimal separator being incorrect in certain languages #24406

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

Merged
merged 7 commits into from
Aug 8, 2023

Conversation

Joehuu
Copy link
Member

@Joehuu Joehuu commented Jul 29, 2023

return;

valueText.Text = newText;
Current.BindValueChanged(text => valueText.Text = Format(text.NewValue), true);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Went too far here. The BindValueChanged(..., true) spec actually alters behaviour because it makes the initial Text spec of "-" on valueText useless (it will always be replaced by whatever Format() spits out at the point of LoadComplete()).

@Joehuu Joehuu self-assigned this Aug 4, 2023
@bdach bdach enabled auto-merge August 8, 2023 20:49
@bdach bdach merged commit c56ca40 into ppy:master Aug 8, 2023
@Joehuu Joehuu deleted the fix-break-info-decimal-separator branch August 8, 2023 21:28
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