Skip to content
This repository was archived by the owner on Feb 2, 2023. It is now read-only.

Commit e264d94

Browse files
committed
[ASScrollNode] Fix a minor error in ASScrollNode sizing.
1 parent a426d99 commit e264d94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AsyncDisplayKit/ASScrollNode.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ - (ASLayout *)calculateLayoutThatFits:(ASSizeRange)constrainedSize
9292
}
9393
// Don't provide a position, as that should be set by the parent.
9494
layout = [ASLayout layoutWithLayoutElement:self
95-
size:parentSize
95+
size:selfSize
9696
sublayouts:layout.sublayouts];
9797
}
9898
return layout;

0 commit comments

Comments
 (0)