Skip to content

Commit

Permalink
SwingAnimator issue
Browse files Browse the repository at this point in the history
Swing animation should start from zero
  • Loading branch information
krossovochkin committed Jun 27, 2014
1 parent c80378c commit 5f51df3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class SwingAnimator extends BaseViewAnimator {
@Override
public void prepare(View target) {
getAnimatorAgent().playTogether(
ObjectAnimator.ofFloat(target, "rotation", 10, -10, 6, -6, 3, -3, 0)
ObjectAnimator.ofFloat(target, "rotation", 0, 10, -10, 6, -6, 3, -3, 0)
);
}
}

0 comments on commit 5f51df3

Please sign in to comment.