Changed animation duration.
This commit is contained in:
parent
daf07a0459
commit
ea5b50732b
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user