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 SliderPath.GetSegmentEnds #24581

Merged
merged 7 commits into from
Aug 21, 2023
Merged

Fix SliderPath.GetSegmentEnds #24581

merged 7 commits into from
Aug 21, 2023

Conversation

OliBomby
Copy link
Contributor

As discussed in #24527 (comment) there are quite a few issues with GetSegmentEnds.

This PR fixes the issues, makes sure the values returned are what you expect from the name and documentation, and added a test.

bdach added 2 commits August 19, 2023 14:33
I like no-braces for single-line ifs as much as anyone, but with inline
comments involved it gets rather dicey.
@bdach bdach merged commit 90bef26 into ppy:master Aug 21, 2023
@OliBomby OliBomby deleted the fix-segment-ends branch August 21, 2023 11:27
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