fix(ios): iOS 10.3 renders opaque background when drawRect is defined

v10 of rnsvg introduced (void)drawRect:(CGRect)rect into RNSVGGroup.m

fixes #1252
This commit is contained in:
Mikael Sand
2020-01-16 13:03:36 +02:00
parent 3eb82a91b4
commit 61bc9bd2cb

View File

@@ -36,6 +36,7 @@ CGFloat const RNSVG_DEFAULT_FONT_SIZE = 12;
{
if (self = [super init]) {
self.opacity = 1;
self.opaque = false;
self.matrix = CGAffineTransformIdentity;
self.transforms = CGAffineTransformIdentity;
self.invTransform = CGAffineTransformIdentity;