[ios] Improve gesture responder native animated transform handling

This commit is contained in:
Mikael Sand
2018-12-08 23:42:12 +02:00
parent 37f07050e4
commit 5f0823c4c4
+1 -1
View File
@@ -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);