diff --git a/src/js/pannellum.js b/src/js/pannellum.js index f233249..edd4d29 100644 --- a/src/js/pannellum.js +++ b/src/js/pannellum.js @@ -1372,6 +1372,7 @@ function animate() { } else if (renderer && (renderer.isLoading() || (config.dynamic === true && update))) { requestAnimationFrame(animate); } else { + fireEvent('animateFinished', {pitch: _this.getPitch(), yaw: _this.getYaw(), hfov: _this.getHfov()}); animating = false; prevTime = undefined; var autoRotateStartTime = config.autoRotateInactivityDelay -