Reset min/max frame when composition is set
@@ -121,6 +121,7 @@ public class LottieValueAnimator extends BaseLottieAnimator implements Choreogra
public void setComposition(LottieComposition composition) {
this.composition = composition;
+ setMinAndMaxFrames((int) composition.getStartFrame(), (int) composition.getEndFrame());
setFrame((int) frame);
lastFrameTimeNs = System.nanoTime();
}
