forked from organicmaps/organicmaps
[ios] increase PP TabButton tap interaction area
Signed-off-by: Kiryl Kaveryn <kirylkaveryn@gmail.com>
This commit is contained in:
parent
f3bfe3c9a8
commit
9b8c93a7b4
1 changed files with 4 additions and 0 deletions
|
@ -199,4 +199,8 @@ NSString *titleForButton(MWMActionBarButtonType type, BOOL isSelected) {
|
|||
[NSUserDefaults.standardUserDefaults setBool:true forKey:kUDDidHighlightRouteToButton];
|
||||
}
|
||||
|
||||
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event {
|
||||
return [self pointInside:point withEvent:event] ? self.button : nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Reference in a new issue