diff --git a/ios/RNSVGRenderable.m b/ios/RNSVGRenderable.m index 63cc9312..f7c0e72b 100644 --- a/ios/RNSVGRenderable.m +++ b/ios/RNSVGRenderable.m @@ -266,7 +266,8 @@ if (self.stroke && self.strokeWidth) { // Add stroke to hitArea - CGPathRef strokePath = CGPathCreateCopyByStrokingPath(hitArea, nil, [self.strokeWidth floatValue], self.strokeLinecap, self.strokeLinejoin, self.strokeMiterlimit); + CGFloat width = [self relativeOnOther:self.strokeWidth]; + CGPathRef strokePath = CGPathCreateCopyByStrokingPath(hitArea, nil, width, self.strokeLinecap, self.strokeLinejoin, self.strokeMiterlimit); CGPathAddPath(hitArea, nil, strokePath); CGPathRelease(strokePath); }