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

.setLoops(0) not works #12

Open
Lautaro-P opened this issue Jul 12, 2022 · 1 comment
Open

.setLoops(0) not works #12

Lautaro-P opened this issue Jul 12, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@Lautaro-P
Copy link

I want the gif to only repeat 1 time but putting .setLoops(0) gives an error, and putting .setLoops(1) repeats it 2 times.
The error is in /build/index.js line 26.
by changing if (!loops) {...} to if (!loops && loops !== 0) {...} the code now works.

@milosworks
Copy link
Owner

Sorry, im not actually giving support to this package at this moment, im leaving this open to when i have time to fix it :>

@milosworks milosworks self-assigned this Jul 15, 2023
@milosworks milosworks added the bug Something isn't working label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants