[ios] Fixed iPhone landscape place page width.

This commit is contained in:
Ilya Grechuhin 2015-10-13 13:20:01 +03:00
parent ff5c6a4579
commit 48322907e9

View file

@ -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;