forked from organicmaps/organicmaps
[cherry] [FABRIC-7708] [ios] Fixed UI layout bug.
This commit is contained in:
parent
46e368af05
commit
d775c89902
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ NSArray<UIImage *> * imagesWithName(NSString * name)
|
|||
CGFloat const leftOffset =
|
||||
self.hidden ? -self.view.width : self.leftBound + kViewControlsOffsetToBounds;
|
||||
UIView * ov = self.view.superview;
|
||||
[ov layoutIfNeeded];
|
||||
[ov setNeedsLayout];
|
||||
self.topOffset.constant = topOffset;
|
||||
self.leftOffset.constant = leftOffset;
|
||||
[UIView animateWithDuration:kDefaultAnimationDuration
|
||||
|
|
Loading…
Add table
Reference in a new issue