Skip to content

Commit

Permalink
Merge pull request facebookarchive#102 from aleclarson/patch-1
Browse files Browse the repository at this point in the history
[ASDisplayNode convertRect:fromNode:] patch
  • Loading branch information
secretiverhyme committed Nov 14, 2014
2 parents 2c7129f + 7307321 commit 0653f73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AsyncDisplayKit/ASDisplayNode.mm
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ - (CGRect)convertRect:(CGRect)rect fromNode:(ASDisplayNode *)node
node = node ? node : _getRootNode(self);

// Calculate transform to map points between coordinate spaces
CATransform3D nodeTransform = _calculateTransformFromReferenceToTarget(self, node);
CATransform3D nodeTransform = _calculateTransformFromReferenceToTarget(node, self);
CGAffineTransform flattenedTransform = CATransform3DGetAffineTransform(nodeTransform);
ASDisplayNodeAssertTrue(CATransform3DIsAffine(nodeTransform));

Expand Down

0 comments on commit 0653f73

Please sign in to comment.