forked from organicmaps/organicmaps
[ios] SideToolbar menu selection after dragging bug fix
This commit is contained in:
parent
f3496f4ef9
commit
48c58c3842
1 changed files with 1 additions and 2 deletions
|
@ -194,8 +194,6 @@ typedef NS_ENUM(NSUInteger, Section)
|
|||
} completion:^(BOOL finished) {
|
||||
self.hidden = NO;
|
||||
}];
|
||||
CGFloat contentHeight = [self topSpaceHeight] + [SideToolbarCell cellHeight] * [menuTitles count] + [self bottomSpaceHeight] + [BuyButtonCell cellHeight];
|
||||
self.tableView.scrollEnabled = contentHeight > self.tableView.height;
|
||||
NSMutableIndexSet * indexSet = [[NSMutableIndexSet alloc] init];
|
||||
[indexSet addIndex:SectionTopSpace];
|
||||
[indexSet addIndex:SectionBottomSpace];
|
||||
|
@ -331,6 +329,7 @@ typedef NS_ENUM(NSUInteger, Section)
|
|||
_tableView.dataSource = self;
|
||||
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
|
||||
_tableView.backgroundColor = [UIColor clearColor];
|
||||
_tableView.alwaysBounceVertical = NO;
|
||||
}
|
||||
return _tableView;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue