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

Add the ability to chose the use of setTimeout instead requestAnimationFrame #21

Closed
jshthornton opened this issue Apr 27, 2014 · 0 comments

Comments

@jshthornton
Copy link

requestAnimationFrame is not always possible in such environments as Chrome extension background pages, whereby requestAnimationFrame will never invoke as the page is never visible.

Maybe add the option to be able to chose which to use?

@meenie meenie closed this as completed in f59a816 Jul 14, 2014
meenie pushed a commit that referenced this issue Jul 14, 2014
 - Using 'linearRampToValueAtTime' fade rather than requestAnimationFrame() - fixes #3
 - Removing requestAnimationFrame all together so music will loop while browser is in the background - fixes #21
meenie pushed a commit that referenced this issue Jul 14, 2014
 - Using 'linearRampToValueAtTime' fade rather than requestAnimationFrame() - fixes #3
 - Removing requestAnimationFrame all together so music will loop while browser is in the background - fixes #21
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

No branches or pull requests

1 participant