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

Focus event #32

Closed
nitriques opened this issue Apr 29, 2013 · 4 comments
Closed

Focus event #32

nitriques opened this issue Apr 29, 2013 · 4 comments

Comments

@nitriques
Copy link
Contributor

Hi!

Your focus handling is nice, but it would be nice if we could turn this off. I am getting a real performance problem with this right now. Thanks.

@nitriques
Copy link
Contributor Author

Ok sorry just saw this undocumented line https://github.com/soulwire/sketch.js/blob/master/js/sketch.js#L122

@yckart
Copy link

yckart commented Apr 29, 2013

So, this issue can be closed then?

@nitriques
Copy link
Contributor Author

😄 I would still consider this a bug since it's not documented. Errors starts in the documentation.

You could add this line

autopause Default: true Whether to pause the animation on window blur and resume on focus

on this page https://github.com/soulwire/sketch.js/wiki/API

BTW, I edited that page, did you received the changes ?

@nitriques
Copy link
Contributor Author

Big 👍 👍 up for your project. BTW I commited it to http://cdnjs.com cdnjs/cdnjs#1221

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

3 participants