You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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) {...}
toif (!loops && loops !== 0) {...}
the code now works.The text was updated successfully, but these errors were encountered: