-
Notifications
You must be signed in to change notification settings - Fork 129
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
Pause the timer when the game is hidden #477
Comments
LeonardoBraga
added a commit
to LeonardoBraga/proxx
that referenced
this issue
Jun 13, 2019
- Use the Page Visibility API to abort the timer increment when `documentvisibilityState` is `hidden`. - Tweaked the time span logic to allow for pause/resume. Closes GoogleChromeLabs#477
LeonardoBraga
added a commit
to LeonardoBraga/proxx
that referenced
this issue
Jun 13, 2019
- Use the Page Visibility API to abort the timer increment when `document.visibilityState` is `hidden` - Tweaked the time span logic to allow for pause/resume Closes GoogleChromeLabs#477
LeonardoBraga
changed the title
Pause the timer when the game is sent to the background or hidden
Pause the timer when the game is hidden
Jun 13, 2019
LeonardoBraga
added a commit
to LeonardoBraga/proxx
that referenced
this issue
Jun 14, 2019
…API to abort the timer increment when `document.visibilityState` is `hidden`- Tweaked the time span logic to allow for pause/resumeCloses GoogleChromeLabs#477
LeonardoBraga
added a commit
to LeonardoBraga/proxx
that referenced
this issue
Jun 14, 2019
…API to abort the timer increment when `document.visibilityState` is `hidden`- Tweaked the time span logic to allow for pause/resumeCloses GoogleChromeLabs#477
LeonardoBraga
added a commit
to LeonardoBraga/proxx
that referenced
this issue
Jun 17, 2019
- Use the Page Visibility API to abort the timer increment when `document.visibilityState` is `hidden` - Tweaked the time span logic to allow for pause/resume Closes GoogleChromeLabs#477
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As suggested by @kosamari in this Twitter thread, I'm creating a GH issue to track a feature proposal of pausing the game timer when the app is sent to the background or is hidden.
Let me know if any additional information is required. I'll send a PR for revision soon.
Thank you!
The text was updated successfully, but these errors were encountered: