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

Commit b0aeb29

Browse files
Yue-Wang-GoogleAdlai Holler
authored andcommitted
Fixed recursively setting displaysAsynchronously in ASDK snapshot tests to recurse through all descendant nodes instead of just the root node's subnodes (#1995)
Patch from Google Inc.
1 parent d481ce5 commit b0aeb29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

AsyncDisplayKitTests/ASSnapshotTestCase.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ + (void)_recursivelySetDisplaysAsynchronously:(BOOL)flag forNode:(ASDisplayNode
4343
node.displaysAsynchronously = flag;
4444

4545
for (ASDisplayNode *subnode in node.subnodes) {
46-
subnode.displaysAsynchronously = flag;
46+
[self _recursivelySetDisplaysAsynchronously:flag forNode:subnode];
4747
}
4848
}
4949

0 commit comments

Comments
 (0)