Changed animation duration.

This commit is contained in:
makowildcat 2014-04-10 12:46:22 +02:00
parent daf07a0459
commit ea5b50732b

View File

@ -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;