diff options
author | Konstantin Ritt <ritt.ks@gmail.com> | 2019-04-05 22:06:15 +0300 |
---|---|---|
committer | Rebecca Worledge <rebecca.worledge@theqtcompany.com> | 2019-04-06 03:59:04 +0000 |
commit | 078703650aed559155de2fcc694da5a21f9caf45 (patch) | |
tree | a84945276b6a71b13e8d80e40f655053be343a5c | |
parent | 3492ab012e3b9a135226b46b293883de1253f111 (diff) |
LottieAnimation: make gotoAndStop() actually go to and stop
Change-Id: I04782cf2c462fb2655d88d05ec01724d5dab60f9
Reviewed-by: Rebecca Worledge <rebecca.worledge@theqtcompany.com>
-rw-r--r-- | src/imports/lottieanimation.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/imports/lottieanimation.cpp b/src/imports/lottieanimation.cpp index 6d5fffa..87d739d 100644 --- a/src/imports/lottieanimation.cpp +++ b/src/imports/lottieanimation.cpp @@ -488,6 +488,7 @@ bool LottieAnimation::gotoAndPlay(const QString &frameMarker) void LottieAnimation::gotoAndStop(int frame) { gotoFrame(frame); + m_frameAdvance->stop(); renderNextFrame(); } |