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) { if (index < self.currentIndex) {
// page précédente // page précédente
newView.center = left; newView.center = left;
[UIView animateWithDuration:.3 [UIView animateWithDuration:.25
animations:^{ animations:^{
newView.center = center; newView.center = center;
oldView.center = right; oldView.center = right;
@ -63,7 +63,7 @@
else { else {
// page suivante // page suivante
newView.center = right; newView.center = right;
[UIView animateWithDuration:.3 [UIView animateWithDuration:.25
animations:^{ animations:^{
newView.center = center; newView.center = center;
oldView.center = left; oldView.center = left;