commit | 541edf960cc598176eecde874322692d37efd510 | [log] [tgz] |
---|---|---|
author | Gabriel Peal <gabriel.peal@airbnb.com> | Sun Feb 18 16:59:41 2018 -0800 |
committer | Gabriel Peal <gabriel.peal@airbnb.com> | Sun Feb 18 16:59:41 2018 -0800 |
tree | ccde3aac2b3c1bec4002262a0268b5db892773f3 | |
parent | ff79c1b8f3cdd1a9ad5e4e00d06e4d7383c466c4 [diff] |
Fixed a bug in which the initial value of a split path transform was never set.
diff --git a/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/SplitDimensionPathKeyframeAnimation.java b/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/SplitDimensionPathKeyframeAnimation.java index 1070051..8fd0300 100644 --- a/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/SplitDimensionPathKeyframeAnimation.java +++ b/lottie/src/main/java/com/airbnb/lottie/animation/keyframe/SplitDimensionPathKeyframeAnimation.java
@@ -18,6 +18,8 @@ this.xAnimation = xAnimation; this.yAnimation = yAnimation; + // We need to call an initial setProgress so point gets set with the initial value. + setProgress(getProgress()); } @Override public void setProgress(float progress) {