Changed animation duration.
This commit is contained in:
parent
daf07a0459
commit
ea5b50732b
@ -51,7 +51,7 @@
|
||||
if (index < self.currentIndex) {
|
||||
// page précédente
|
||||
newView.center = left;
|
||||
[UIView animateWithDuration:.3
|
||||
[UIView animateWithDuration:.25
|
||||
animations:^{
|
||||
newView.center = center;
|
||||
oldView.center = right;
|
||||
@ -63,7 +63,7 @@
|
||||
else {
|
||||
// page suivante
|
||||
newView.center = right;
|
||||
[UIView animateWithDuration:.3
|
||||
[UIView animateWithDuration:.25
|
||||
animations:^{
|
||||
newView.center = center;
|
||||
oldView.center = left;
|
||||
|
Loading…
Reference in New Issue
Block a user