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 bg rAF #70

Merged
merged 1 commit into from
Jan 2, 2015
Merged

fix bg rAF #70

merged 1 commit into from
Jan 2, 2015

Conversation

herrernst
Copy link
Contributor

when rAF is paused (e.g. browser tab is put to background) and then later on continued, diff factor could increase above 1 and thus animation would be quite weird (approached target value from other direction)

…ater on continued, diff factor could increase above 1 and thus animation would be quite weird (approached target value from other direction)
ovidiuch added a commit that referenced this pull request Jan 2, 2015
@ovidiuch ovidiuch merged commit dbc3c62 into ovidiuch:master Jan 2, 2015
@ovidiuch
Copy link
Owner

ovidiuch commented Jan 2, 2015

Hah, what a find. Managed to reproduce it: https://www.dropbox.com/s/v4g23zghw9ghohv/weird-drag.mov?dl=0 – It does correct its position once resumed, but still acts weird indeed.

Merged! 🔨

@herrernst
Copy link
Contributor Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants