animation-frame icon indicating copy to clipboard operation
animation-frame copied to clipboard

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

Open w934423231 opened this issue 2 years ago • 7 comments

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

w934423231 avatar Jan 05 '23 10:01 w934423231

image

w934423231 avatar Jan 05 '23 10:01 w934423231

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

w934423231 avatar Jan 05 '23 10:01 w934423231

I will merge a fix if you make one

kof avatar Jan 05 '23 10:01 kof

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

w934423231 avatar Jan 05 '23 10:01 w934423231

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

w934423231 avatar Jan 05 '23 10:01 w934423231

My frame rate is set to 30fps

w934423231 avatar Jan 05 '23 10:01 w934423231

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

w934423231 avatar Jan 05 '23 10:01 w934423231