forked from organicmaps/organicmaps
Merge pull request #976 from VladiMihaylenko/vm-master
[ios] Fixed place page top bound on iPad.
This commit is contained in:
commit
2c12f070c0
2 changed files with 6 additions and 0 deletions
|
@ -475,6 +475,7 @@ extern NSString * const kAlohalyticsTapEventKey;
|
|||
[RouteState remove];
|
||||
[self.menuController setInactive];
|
||||
[self resetRoutingPoint];
|
||||
[self navigationDashBoardDidUpdate];
|
||||
}
|
||||
|
||||
- (void)swapPointsAndRebuildRouteIfPossible
|
||||
|
|
|
@ -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:^
|
||||
|
|
Loading…
Add table
Reference in a new issue