mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-15 03:22:36 +00:00
feat(ios): support using other native views in e.g. masks
This commit is contained in:
@@ -72,7 +72,9 @@
|
||||
CGContextClipToRect(context, rect);
|
||||
[svgView drawToContext:context withRect:rect];
|
||||
} else {
|
||||
[node drawRect:rect];
|
||||
node.hidden = false;
|
||||
[node.layer renderInContext:context];
|
||||
node.hidden = true;
|
||||
}
|
||||
|
||||
return YES;
|
||||
|
||||
Reference in New Issue
Block a user