mpetroff / pannellum

Pannellum is a lightweight, free, and open source panorama viewer for the web.
https://pannellum.org/
MIT License
4.15k stars 710 forks source link

animatefinished event #1196

Closed 1051897274 closed 1 month ago

1051897274 commented 6 months ago

After rotating more than 180 degrees, the event does not execute, cannot enter the event again, can only be re-rendered

mpetroff commented 5 months ago

After rotating more than 180 degrees, the event does not execute

Can you provide an example that demonstrates this behavior? It works for me.

cannot enter the event again, can only be re-rendered

I don't know what you mean by this.

1051897274 commented 2 months ago

I use the animatefinished event. When I rotate the view more than 180 degrees horizontally, the animatefinished event will no longer execute and the animatefinished event will fail

mpetroff commented 2 months ago

It's still not clear to me what you're doing, and I can't reproduce an issue with the information you've provided.

Please provide an example that demonstrates the issue. I can't provide much help if I can't reproduce the issue.

1051897274 commented 1 month ago

I found out that other code was causing the problem,thank you