From d3235ed6a2c6c4b95cb0073ae7623dd8917c6cdf Mon Sep 17 00:00:00 2001 From: duhduhdan Date: Sat, 23 Apr 2016 11:40:53 -0700 Subject: [PATCH] Switches RNSVGPath.m and RNSVGText.m strokeDash to new strokeDasharray --- ios/RNSVGPath.m | 2 +- ios/RNSVGText.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ios/RNSVGPath.m b/ios/RNSVGPath.m index 9f6e9867..e928f639 100644 --- a/ios/RNSVGPath.m +++ b/ios/RNSVGPath.m @@ -57,7 +57,7 @@ CGContextSetLineWidth(context, self.strokeWidth); CGContextSetLineCap(context, self.strokeLinecap); CGContextSetLineJoin(context, self.strokeLinejoin); - RNSVGCGFloatArray dash = self.strokeDash; + RNSVGCGFloatArray dash = self.strokeDasharray; if (dash.count) { CGContextSetLineDash(context, self.strokeDashoffset, dash.array, dash.count); diff --git a/ios/RNSVGText.m b/ios/RNSVGText.m index 12ac6d13..f8ee3906 100644 --- a/ios/RNSVGText.m +++ b/ios/RNSVGText.m @@ -83,7 +83,7 @@ static void RNSVGFreeTextFrame(RNSVGTextFrame frame) CGContextSetLineWidth(context, self.strokeWidth); CGContextSetLineCap(context, self.strokeLinecap); CGContextSetLineJoin(context, self.strokeLinejoin); - RNSVGCGFloatArray dash = self.strokeDash; + RNSVGCGFloatArray dash = self.strokeDasharray; if (dash.count) { CGContextSetLineDash(context, self.strokeDashoffset, dash.array, dash.count);