mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-27 04:32:57 +00:00
Fix ClipPath position with Text elements
This commit is contained in:
@@ -25,8 +25,8 @@
|
||||
- (void)renderLayerTo:(CGContextRef)context
|
||||
{
|
||||
CGContextSaveGState(context);
|
||||
CGContextConcatCTM(context, CGAffineTransformMakeTranslation([self getShift:context path:nil], 0));
|
||||
[super renderLayerTo:context];
|
||||
CGAffineTransform transform = CGAffineTransformMakeTranslation([self getShift:context path:nil], 0);
|
||||
[super renderLayerToWithTransform:context transform:transform];
|
||||
CGContextRestoreGState(context);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user