Change animation fromValue to @(0.f)
This commit is contained in:
parent
a42f05da0e
commit
2795887b44
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Reference in New Issue