mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-07 08:45:00 +00:00
Fix #999
This commit is contained in:
@@ -110,6 +110,9 @@
|
|||||||
|
|
||||||
- (void)renderLayerTo:(CGContextRef)context rect:(CGRect)rect
|
- (void)renderLayerTo:(CGContextRef)context rect:(CGRect)rect
|
||||||
{
|
{
|
||||||
|
if (CGSizeEqualToSize(CGSizeZero, _imageSize)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
CGContextSaveGState(context);
|
CGContextSaveGState(context);
|
||||||
|
|
||||||
// add hit area
|
// add hit area
|
||||||
|
|||||||
Reference in New Issue
Block a user