Skip to content

Commit

Permalink
fix(ios): iOS 10.3 renders opaque background when drawRect is defined
Browse files Browse the repository at this point in the history
v10 of rnsvg introduced (void)drawRect:(CGRect)rect into RNSVGGroup.m

fixes #1252
  • Loading branch information
msand committed Jan 16, 2020
1 parent 3eb82a9 commit 61bc9bd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ios/RNSVGNode.m
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ - (instancetype)init
{
if (self = [super init]) {
self.opacity = 1;
self.opaque = false;
self.matrix = CGAffineTransformIdentity;
self.transforms = CGAffineTransformIdentity;
self.invTransform = CGAffineTransformIdentity;
Expand Down

0 comments on commit 61bc9bd

Please sign in to comment.