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

cancel "pending" drawing when BG #50

Open
Rudxain opened this issue Mar 9, 2024 · 0 comments
Open

cancel "pending" drawing when BG #50

Rudxain opened this issue Mar 9, 2024 · 0 comments
Labels
bug Something isn't working perf Performance problem

Comments

@Rudxain
Copy link
Owner

Rudxain commented Mar 9, 2024

Since RAF is paused for a long time while page isn't visible, this causes the code to draw a lot of Droplets after resuming.

Useful: https://developer.mozilla.org/en-US/docs/Web/API/Page_Visibility_API

@Rudxain Rudxain added bug Something isn't working perf Performance problem labels Mar 9, 2024
@Rudxain Rudxain changed the title cancel "pending" drawing when no visibility cancel "pending" drawing when BG Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working perf Performance problem
Projects
None yet
Development

No branches or pull requests

1 participant