Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Grechuhin <i.grechuhin@mapswithme.com>2015-06-22 16:36:08 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:52:47 +0300
commit4bd9e204c971becb23798b39f28b32c6e41e31f8 (patch)
tree009a81e924692840bd85b6925e50809d00d4eaa5 /iphone/Maps/Classes/MWMPlacePage+Animation.mm
parent83ebe0e2de836e0a9a1256c522c394aa39cd874a (diff)
[ios] Fixed iPhone portrait PP scroll.
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePage+Animation.mm')
-rw-r--r--iphone/Maps/Classes/MWMPlacePage+Animation.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePage+Animation.mm b/iphone/Maps/Classes/MWMPlacePage+Animation.mm
index 38432f5aa6..0c2e57e351 100644
--- a/iphone/Maps/Classes/MWMPlacePage+Animation.mm
+++ b/iphone/Maps/Classes/MWMPlacePage+Animation.mm
@@ -35,10 +35,10 @@
self.springAnimation = nil;
}
-- (void)startAnimatingPlacePage:(MWMPlacePage *)placePage initialVelocity:(CGPoint)velocity
+- (void)startAnimatingPlacePage:(MWMPlacePage *)placePage initialVelocity:(CGPoint)velocity completion:(void (^)(void))completion
{
[self cancelSpringAnimation];
- self.springAnimation = [MWMSpringAnimation animationWithView:placePage.extendedPlacePageView target:placePage.targetPoint velocity:velocity];
+ self.springAnimation = [MWMSpringAnimation animationWithView:placePage.extendedPlacePageView target:placePage.targetPoint velocity:velocity completion:completion];
[self.manager.ownerViewController.view.animator addAnimation:self.springAnimation];
}