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 legacy combo counter not fully hiding for rulesets that implement their own #16257

Merged
merged 2 commits into from Dec 27, 2021

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Dec 26, 2021

Closes #16250.

Regressed in #16000 due to taking the popOutCount out of counterContainer. Fixed by putting it back in there, but keeping the anchor/origin and BypassAutoSizeAxes = Axes.Both to not regress #15973.

Test coverage added but it's purely visual. I can add asserts but due to the fact that both sprite texts have their own alpha transforms and their parent is what controls the flag seems kind of flaky to depend on implementation details of the counter (if such a test checking the parent's alpha existed, it could have not even failed with the changes at #16000, as only one of the sprite texts was taken out of its hidden parent).

@smoogipoo smoogipoo merged commit f7715b9 into ppy:master Dec 27, 2021
@bdach bdach deleted the catch-combo-counter-visible branch December 27, 2021 08:59
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.

Combo counter partially appearing in bottom-left when playing catch
2 participants