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 split control point context menu option not showing up on newly created control points #30189

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

OliBomby
Copy link
Contributor

@OliBomby OliBomby commented Oct 9, 2024

The Pieces collection does not maintain the same ordering as the controlPoints so if you insert a new control point and dont deselect and reselect the slider, the PathControlPointPiece will be at the end of the Pieces list even though its not the last control point. This mistakenly causes the isSplittable to think you want to split the last control point which isn't possible.

@bdach bdach self-requested a review October 10, 2024 09:25
@bdach bdach merged commit cab97a9 into ppy:master Oct 10, 2024
13 checks passed
@OliBomby OliBomby deleted the fix-splittable branch October 10, 2024 10: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.

3 participants