forked from organicmaps/organicmaps
[ugc] [ios] Fixed action bar layout on iPhone.
This commit is contained in:
parent
a1b6ac0c72
commit
34b203c89e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue