commit | 74278e178cc14e1b6bb2986da2c972462a422fe3 | [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 17:18:16 2018 -0800 |
tree | ccde3aac2b3c1bec4002262a0268b5db892773f3 | |
parent | 06fdee274958c57f6550da0cc6a9dba71d27d3bc [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) {