mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-05-31 05:51:47 +00:00
fixes animating clipPath in ios
This commit is contained in:
+1
-1
@@ -200,7 +200,7 @@ CGFloat const RNSVG_DEFAULT_FONT_SIZE = 12;
|
||||
|
||||
- (CGPathRef)getClipPath:(CGContextRef)context
|
||||
{
|
||||
if (self.clipPath && !_cachedClipPath) {
|
||||
if (self.clipPath) {
|
||||
_cachedClipPath = CGPathRetain([[self.svgView getDefinedClipPath:self.clipPath] getPath:context]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user