8000 Fix non-snaking slide transforms not resetting before entry animation by LumpBloom7 · Pull Request #208 · LumpBloom7/sentakki · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Fix non-snaking slide transforms not resetting before entry animation #208

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

Merged
merged 2 commits into from
Apr 10, 2021

Conversation

LumpBloom7
Copy link
Owner

The chevrons could be either visible or invisible depending on whether the previous slide has been completed or not. The transforms used during the non-snaking transforms resets the chevrons back to full alpha at the end, instead of at the front. The original transforms were due to me trying to rush things, and copied the same thing from the snaking transforms, without realizing that it was not helping anything.

@LumpBloom7 LumpBloom7 added the bug Something isn't working label Apr 9, 2021
@LumpBloom7
Copy link
Owner Author

Investigating, it seems that the cause of chevrons not reappearing when snaking is off comes from the lazy progress updates used in this method.

The problem occurs specifically on completion of the slide. The slide would trigger the exit animation transform BEFORE the progress is updated. The transforms will then play out, and may only complete during the next use, causing a few chevrons to be missing.

@LumpBloom7 LumpBloom7 merged commit fefb93c into master Apr 10, 2021
@LumpBloom7 LumpBloom7 deleted the Fix-non-snaking-slide-visuals branch April 10, 2021 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant
0