Changed animation duration.
This commit is contained in:
1 parent
daf07a0459
commit
ea5b50732b
1 file changed
+2
-2
@@ -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;
|
||||||
|
|||||||
Reference in new issue
Block a user