mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-05 07:59:28 +00:00
Finish percentage props refactor on iOS
This commit is contained in:
@@ -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];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user