mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-06 08:22:23 +00:00
Fix Touch events on Android
Fix Touch events on Android, using region.contains point instead of Bitmap
This commit is contained in:
@@ -259,7 +259,7 @@
|
||||
// hitTest delagate
|
||||
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event
|
||||
{
|
||||
return [self hitTest:point withEvent:event withTransform:CGAffineTransformMakeRotation(0)];
|
||||
return [self hitTest:point withEvent:event withTransform:CGAffineTransformIdentity];
|
||||
}
|
||||
|
||||
- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event withTransform:(CGAffineTransform)transform
|
||||
|
||||
Reference in New Issue
Block a user