Commit 9689c8a6 authored by wildfirecode13's avatar wildfirecode13

1

parent 2d76e144
...@@ -59,7 +59,7 @@ exports.getSVGA = function (url, className, loops, clearsAfterStop) { return __a ...@@ -59,7 +59,7 @@ exports.getSVGA = function (url, className, loops, clearsAfterStop) { return __a
if (loops) if (loops)
svga.loops = loops; svga.loops = loops;
if (clearsAfterStop) if (clearsAfterStop)
svga.clearsAfterStop = clearsAfterStop; svga.clearsAfterStop = false;
svga.setVideoItem(videoItem); svga.setVideoItem(videoItem);
svga.startAnimation(); svga.startAnimation();
return [2 /*return*/, svga]; return [2 /*return*/, svga];
......
{ {
"name": "teddi", "name": "teddi",
"version": "1.0.11", "version": "1.0.13",
"description": "", "description": "",
"main": "dist/index.js", "main": "dist/index.js",
"types": "dist/index.d.ts", "types": "dist/index.d.ts",
......
...@@ -18,7 +18,7 @@ export const getSVGA = async (url:string, className:string, loops:number, clears ...@@ -18,7 +18,7 @@ export const getSVGA = async (url:string, className:string, loops:number, clears
if (loops) if (loops)
svga.loops = loops; svga.loops = loops;
if (clearsAfterStop) if (clearsAfterStop)
svga.clearsAfterStop = clearsAfterStop; svga.clearsAfterStop = false;
svga.setVideoItem(videoItem); svga.setVideoItem(videoItem);
svga.startAnimation(); svga.startAnimation();
return svga return svga
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment