Commit b02d9948 authored by Felix Paul Kühne's avatar Felix Paul Kühne

equalizer: fix UX issue which prevented the selection of the last preset (closes #14056)

(cherry picked from commit 0f73cc2f)
parent 97428cd1
...@@ -247,12 +247,16 @@ ...@@ -247,12 +247,16 @@
[self addSubview:textView]; [self addSubview:textView];
// TableView // TableView
_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,frame.size.height - vertical_padding_down + 25.,frame.size.width,145.) CGFloat tableInset = frame.size.height - vertical_padding_down + 25.;
_tableView = [[UITableView alloc] initWithFrame:CGRectMake(0,tableInset,frame.size.width, frame.size.height - tableInset)
style:UITableViewStylePlain]; style:UITableViewStylePlain];
_tableView.delegate = self; _tableView.delegate = self;
_tableView.dataSource = self; _tableView.dataSource = self;
_tableView.separatorColor = [UIColor clearColor]; _tableView.separatorColor = [UIColor clearColor];
_tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite; _tableView.indicatorStyle = UIScrollViewIndicatorStyleWhite;
_tableView.rowHeight = 44.;
_tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
_tableView.sectionHeaderHeight = 28.;
[_tableView registerClass:[VLCTrackSelectorHeaderView class] forHeaderFooterViewReuseIdentifier:PROFILE_SELECTOR_TABLEVIEW_SECTIONHEADER]; [_tableView registerClass:[VLCTrackSelectorHeaderView class] forHeaderFooterViewReuseIdentifier:PROFILE_SELECTOR_TABLEVIEW_SECTIONHEADER];
[_tableView registerClass:[VLCTrackSelectorTableViewCell class] forCellReuseIdentifier:PROFILE_SELECTOR_TABLEVIEW_CELL]; [_tableView registerClass:[VLCTrackSelectorTableViewCell class] forCellReuseIdentifier:PROFILE_SELECTOR_TABLEVIEW_CELL];
if ([[UIDevice currentDevice] speedCategory] >= 3) { if ([[UIDevice currentDevice] speedCategory] >= 3) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment