mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2026-02-02 09:06:58 +00:00
lottie/parser: construct interpolator from correct argument.
This is the most annoying bug because of passing argument in wrong order to the interpolaor constructor. Change-Id: Idfc307186bc1dd7d6d3849d29985c3e6f493d9d0
This commit is contained in:
@@ -1767,7 +1767,7 @@ void LottieParserImpl::parseKeyFrame(LOTAnimInfo<T> &obj)
|
||||
keyframe.mInterpolator = search->second;
|
||||
} else {
|
||||
keyframe.mInterpolator = std::make_shared<VInterpolator>(
|
||||
VInterpolator(inTangent, outTangent));
|
||||
VInterpolator(outTangent, inTangent));
|
||||
compRef->mInterpolatorCache[interpolatorKey] =
|
||||
keyframe.mInterpolator;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user