forked from organicmaps/organicmaps
[ios] BottomMenu iPad landscape height fix
This commit is contained in:
parent
b70b5573ab
commit
2993a1ea36
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@
|
|||
{
|
||||
CGFloat menuHeight = [self.items count] * [BottomMenuCell cellHeight];
|
||||
if (self.superview.width > self.superview.height)
|
||||
menuHeight = MIN(menuHeight, 228);
|
||||
menuHeight = MIN(menuHeight, IPAD ? menuHeight : 228);
|
||||
|
||||
self.tableView.frame = CGRectMake(self.tableView.minX, self.tableView.minY, self.width, menuHeight);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue