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

I had problems with animation frame. When I quickly destroyed and created it_ Callbacks and_ The timeoutId is null #29

Open
w934423231 opened this issue Jan 5, 2023 · 7 comments

Comments

@w934423231
Copy link

I had problems with animation frame. When I quickly destroyed and created it_ Callbacks and_ The timeoutId is null
image

@w934423231
Copy link
Author

image

@w934423231
Copy link
Author

It seems that errors may occur during the interval between two frames

@kof
Copy link
Owner

kof commented Jan 5, 2023

I will merge a fix if you make one

@w934423231
Copy link
Author

I don't know how to correct this problem. It's because I have a problem when using this. Here's the problem

@w934423231
Copy link
Author

image
In my opinion, it seems to be the problem here

@w934423231
Copy link
Author

My frame rate is set to 30fps

@w934423231
Copy link
Author

image
I commented out this place. It seems that it can solve the problem, but it doesn't seem to conform to your process. Please see how to deal with this problem

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

2 participants