Respect responsible flag of RNSVGNode. (#293)

This commit is contained in:
NoilPaw
2017-11-23 22:48:17 +01:00
committed by Dustin Savery
parent d5a5e97b38
commit e4269aed9f
+1 -1
View File
@@ -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);