aarsteinmedia / dotlottie-player-light

Light Web Component for playing SVG Lottie animations in your web app. Previously @johanaarstein/dotlottie-player-light
GNU General Public License v2.0
4 stars 1 forks source link

Fix manifest precedence regression #4

Closed anthony-colpron closed 1 month ago

anthony-colpron commented 1 month ago

The 2.4.11 refactor introduced a regression in which the manifest takes precedence over user entered parameters for loop and autoplay, making it impossible to loop or autoplay a lottie file if these are set to false in their manifest.

This PR fixes this regression.

PS: I uncommented the loop logic being disabled since I presumed it was commented because of the aforementionned regression.