Change animation fromValue to @(0.f)

This commit is contained in:
Looping 2014-12-08 21:06:13 +08:00
parent a42f05da0e
commit 2795887b44
1 changed files with 1 additions and 1 deletions

View File

@ -379,7 +379,7 @@
[_indicatorIndexLabel setText:[NSString stringWithFormat:@"%@", @(toPage + 1)]];
POPBasicAnimation *alphaAnimation = [POPBasicAnimation animationWithPropertyNamed:kPOPViewAlpha];
alphaAnimation.fromValue = @(.3f);
alphaAnimation.fromValue = @(0.f);
alphaAnimation.toValue = @(1.f);
alphaAnimation.duration = _disableAnimation ? 0 : _animationDuration;
[_indicatorIndexLabel pop_addAnimation:alphaAnimation forKey:RCDefaultIndicatorIndexLabelAlphaAnimationKey];