From 5f0823c4c43e8c3cdde65b250390624b9dd4f0a2 Mon Sep 17 00:00:00 2001 From: Mikael Sand Date: Sat, 8 Dec 2018 23:42:12 +0200 Subject: [PATCH] [ios] Improve gesture responder native animated transform handling --- ios/Elements/RNSVGGroup.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ios/Elements/RNSVGGroup.m b/ios/Elements/RNSVGGroup.m index 639d9734..39ac7937 100644 --- a/ios/Elements/RNSVGGroup.m +++ b/ios/Elements/RNSVGGroup.m @@ -74,7 +74,7 @@ [self setHitArea:[self getPath:context]]; self.clientRect = bounds; - CGAffineTransform matrix = self.transform; + CGAffineTransform matrix = self.matrix; CGPoint mid = CGPointMake(CGRectGetMidX(bounds), CGRectGetMidY(bounds)); CGPoint center = CGPointApplyAffineTransform(mid, matrix); CGRect frame = CGRectApplyAffineTransform(bounds, matrix);