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

Remove faulty assertion in scroll container #6317

Merged
merged 2 commits into from
Jun 27, 2024

Conversation

frenzibyte
Copy link
Member

@frenzibyte frenzibyte commented Jun 27, 2024

Hit this multiple times while just wanting to scroll through a zoomed-in editor timeline in osu!. Discussed removing assertion in discord.

@bdach
Copy link
Collaborator

bdach commented Jun 27, 2024

I'm not sure I see the point in commenting the assertion? Either remove it or fix it (presumably by having the check use relative tolerance rather than absolute).

@frenzibyte frenzibyte changed the title Disable faulty assertion in scroll container for developer convenience Remove faulty assertion in scroll container Jun 27, 2024
@bdach bdach merged commit 0237dc9 into ppy:master Jun 27, 2024
21 checks passed
@frenzibyte frenzibyte deleted the disable-assertion branch June 27, 2024 06: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.

Assertion hit in ScrollContainer.OnDrag
2 participants