Skip to content

Commit

Permalink
格式调整
Browse files Browse the repository at this point in the history
  • Loading branch information
zj565061763 committed May 28, 2018
1 parent 6c11bc1 commit 907ee9e
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions lib/src/main/java/com/fanwe/lib/animator/BaseAnimator.java
Original file line number Diff line number Diff line change
Expand Up @@ -176,11 +176,9 @@ public T startAsPop(boolean clone)
imageView.attachTarget(target);
imageView.setVisibility(target.isShown() ? View.VISIBLE : View.INVISIBLE);

T animator = (T) this;
if (clone)
animator = clone();

final T animator = clone ? clone() : (T) this;
animator.setTarget(imageView).start();

return animator;
}
return null;
Expand Down

0 comments on commit 907ee9e

Please sign in to comment.