From 34b203c89e53d754393a9e81bb38d96d0d921b1c Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Thu, 5 Oct 2017 10:35:13 +0300 Subject: [PATCH] [ugc] [ios] Fixed action bar layout on iPhone. --- .../PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm index e0bf19eee2..1e51a512d5 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/MWMiPhonePlacePageLayoutImpl.mm @@ -115,7 +115,7 @@ CGFloat const kMinOffset = 1; auto const size = frame.size; self.placePageView.minY = size.height; auto actionBar = self.actionBar; - actionBar.frame = {{0., size.height - actionBar.height}, {size.width, actionBar.height}}; + actionBar.frame = {{0., frame.origin.y + size.height - actionBar.height}, {size.width, actionBar.height}}; [self.delegate onPlacePageTopBoundChanged:self.scrollView.contentOffset.y]; [sv setContentOffset:{ 0, self.state == State::Top ? self.topContentOffset : self.bottomContentOffset