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 weird follow circle display when rewinding through sliders in editor #31864

Merged
merged 3 commits into from
Feb 13, 2025

Conversation

peppy
Copy link
Member

@peppy peppy commented Feb 12, 2025

Closes #31812.

This goes much deeper (so many gameplay things look wrong in rewind). I still believe the correct path forward is to not use transforms here. I did consider doing that for this series of classes, but it's more than a 30 minute change and I don't want to go down that rabbit hole just yet.

Comment on lines +70 to +71
// Immediately play out any pending transforms from press/release
FinishTransforms(true);
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the only part required for the actual fix.

{
((DrawableSlider?)ParentObject)?.Tracking.BindValueChanged(tracking =>
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This may look bad but it's not that bad because FollowCircle has a 1:1 relationship with a DrawableHitObject. This was subscribing twice somehow, but "only" twice.

@smoogipoo smoogipoo merged commit c13bc8b into ppy:master Feb 13, 2025
6 of 10 checks passed
@peppy peppy deleted the fix-follow-circle-rewind-display branch February 14, 2025 10:58
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.

Scrolling the timeline backwards displays a glowing circle on sliders ends
2 participants