commit | 12cdbf6f53637f9da93de291e424a90601f43fe7 | [log] [tgz] |
---|---|---|
author | airnan <hernantorrisi@gmail.com> | Mon Nov 15 17:43:47 2021 -0500 |
committer | airnan <hernantorrisi@gmail.com> | Mon Nov 15 17:43:47 2021 -0500 |
tree | ac3ed06b4c00cac5fc31303eaf65e5a56da80a2f | |
parent | 22df15ab97ab3dde8926b8b269dfcab2b3fff029 [diff] |
total frames fix
diff --git a/images/js/screenshot_skottie.js b/images/js/screenshot_skottie.js index a881b5a..b7218cc 100644 --- a/images/js/screenshot_skottie.js +++ b/images/js/screenshot_skottie.js
@@ -74,7 +74,7 @@ } else { await puppeteerHelper.submitAndWaitForResponse( currentFrame, - currentFrame === animationData.tf, + currentFrame === totalFrames - 1, width, height, );