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 slider ticks and repeats incorrectly moved to position of head when strict tracking and any conversion mod that moves objects is active #30281

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

bdach
Copy link
Collaborator

@bdach bdach commented Oct 14, 2024

Fix strict tracking mod not populating path progress for ticks/repeats

Closes #30237.

This is the root failure causing the issue, and one that only presents when another conversion mod that repositions the objects is also active. The failure to populate PathProgress correctly makes the PathProgress of the nested ticks and repeats to be zero, therefore making them occupy the position of the slider head after any mutation to the path.

Remove no longer required nested object reposition hacks

As touched on in #30237 (comment), these types of maneouvers are no longer required after #30021 - although as it turns out on closer inspection, these things being there still did not actually break anything, because the slider.Path mutation at the end of modifySlider() causes updateNestedPositions() to be called eventually anyway. So this is at mostly a code quality upgrade.

Closes ppy#30237.

This is the root failure in the issue, and one that *only* presents when
another conversion mod that repositions the objects is also active. That
makes the `PathProgress` of the nesteds to be zero, therefore making
them occupy the position of the slider head after any mutation to the
path.
As touched on in
ppy#30237 (comment), these
types of maneouvers are no longer required after
ppy#30021 - although as it turns out on
closer inspection, these things being there still *did not actually
break anything*, because the `slider.Path` mutation at the end of
`modifySlider()` causes `updateNestedPositions()` to be called
eventually anyway. So this is at mostly a code quality upgrade.
@bdach bdach added ruleset/osu! area:mods next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! labels Oct 14, 2024
@smoogipoo smoogipoo merged commit 80c77e6 into ppy:master Oct 17, 2024
9 of 13 checks passed
@bdach bdach deleted the remove-irrelevant-hacks branch October 17, 2024 05:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:mods next release Pull requests which are almost there. We'll aim to get them in the next release, but no guarantees! ruleset/osu! size/M
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using MR and ST mods makes slider tick appear at the head of the sliders
2 participants