forked from organicmaps/organicmaps-tmp
[ios] Fixed iPhone landscape place page width.
This commit is contained in:
parent
ff5c6a4579
commit
48322907e9
1 changed files with 1 additions and 0 deletions
|
@ -46,6 +46,7 @@ typedef NS_ENUM(NSUInteger, MWMiPhoneLandscapePlacePageState)
|
|||
CGFloat const height = MIN(size.width, size.height);
|
||||
CGFloat const offset = MIN(height, kMaximumPlacePageWidth);
|
||||
self.extendedPlacePageView.minX = -offset;
|
||||
self.extendedPlacePageView.width = offset;
|
||||
self.actionBar.width = offset;
|
||||
self.actionBar.minX = 0.0;
|
||||
self.state = MWMiPhoneLandscapePlacePageStateOpen;
|
||||
|
|
Loading…
Add table
Reference in a new issue