Merge pull request #976 from VladiMihaylenko/vm-master

[ios] Fixed place page top bound on iPad.
This commit is contained in:
igrechuhin 2015-12-14 18:43:05 +03:00
commit 2c12f070c0
2 changed files with 6 additions and 0 deletions

View file

@ -475,6 +475,7 @@ extern NSString * const kAlohalyticsTapEventKey;
[RouteState remove];
[self.menuController setInactive];
[self resetRoutingPoint];
[self navigationDashBoardDidUpdate];
}
- (void)swapPointsAndRebuildRouteIfPossible

View file

@ -9,6 +9,11 @@ static CGFloat const kHeight = 40.;
{
if (IPAD)
{
dispatch_async(dispatch_get_main_queue(), ^
{
[self.parentView setNeedsLayout];
[self.parentView layoutIfNeeded];
});
if (!hidden)
[super setHidden:hidden];
[UIView animateWithDuration:kDefaultAnimationDuration animations:^