Only reset the drawable in setScale if lottieDrawable is the current drawable
@@ -421,9 +421,11 @@ public class LottieAnimationView extends AppCompatImageView {
void setScale(float scale) {
lottieDrawable.setScale(scale);
+ if (getDrawable() == lottieDrawable) {
setImageDrawable(null);
setImageDrawable(lottieDrawable);
}
+ }
public void cancelAnimation() {
lottieDrawable.cancelAnimation();
