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 setInterval/Timer regression in fps-controller #3799

Merged
merged 1 commit into from Apr 19, 2021

Conversation

robwalch
Copy link
Collaborator

@robwalch robwalch commented Apr 19, 2021

This PR will...

Fix a regression introduced in #3072 that changed the fps-controller 's repeating interval to a timer that only fires once.

Why is this Pull Request needed?

So that fps-controller's checkFPS is called continuously when config.capLevelOnFPSDrop is set to true.

Resolves issues:

Fixes #3790

Checklist

  • changes have been done against master branch, and PR does not conflict

@robwalch robwalch added this to the 1.0.2 milestone Apr 19, 2021
@robwalch robwalch merged commit d31cc5b into master Apr 19, 2021
@robwalch robwalch deleted the bugfix/fps-interval branch April 19, 2021 17:20
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.

fps-controller not checkFPS continuously but only once
1 participant