mirror of
https://github.com/zoriya/react-native-svg.git
synced 2026-06-05 16:04:38 +00:00
[ios] Improve gesture responder native animated transform handling
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user