fixes animating clipPath in ios

This commit is contained in:
boygirl
2018-07-25 16:00:40 -07:00
parent b30823183e
commit 3ac213f8e1
+1 -1
View File
@@ -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]);
}