forked from Read-Write/Submariner
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
make sure progress is updated even if paused
If the window becomes unoccluded, resuming the timer, it won't update the progress if paused, because the timer bails early to avoid doing spurious work. In this case, we do want the update, so just call that inner part of code before we install the timer.
- Loading branch information
1 parent
2781e3e
commit 2e38c90
Showing
1 changed file
with
24 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters