mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-31 21:58:01 +00:00
Respect responsible flag of RNSVGNode. (#293)
This commit is contained in:
@@ -260,7 +260,7 @@
|
||||
- (void)setHitArea:(CGPathRef)path
|
||||
{
|
||||
CGPathRelease(_hitArea);
|
||||
if ([self getSvgView].responsible) {
|
||||
if (self.responsible) {
|
||||
// Add path to hitArea
|
||||
CGMutablePathRef hitArea = CGPathCreateMutableCopy(path);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user