Finish percentage props refactor on iOS

This commit is contained in:
Horcrux
2017-01-20 17:47:57 +08:00
parent 8582e076e4
commit af6db7039f
23 changed files with 184 additions and 220 deletions
+1 -2
View File
@@ -14,7 +14,6 @@
- (void)renderLayerTo:(CGContextRef)context
{
[self setContextBoundingBox:CGContextGetClipBoundingBox(context)];
[self renderGroupTo:context];
}
@@ -29,7 +28,7 @@
}
RNSVGPath *path = template;
CGFloat startOffset = [self getWidthRelatedValue:self.startOffset];
CGFloat startOffset = [self relativeOnWidth:self.startOffset];
return [[RNSVGBezierTransformer alloc] initWithBezierCurvesAndStartOffset:[path getBezierCurves]
startOffset:startOffset];
}