mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-23 11:27:56 +08:00
Merge pull request #165 from facebook/transactions
Remove CATransaction hack.
This commit is contained in:
@@ -121,12 +121,7 @@
|
||||
ASDisplayNodeAssertMainThread();
|
||||
ASDisplayNodeAssert(node && view, @"invalid argument, did you mean -removeNodeFromWorkingRange:?");
|
||||
|
||||
// use an explicit transaction to force CoreAnimation to display nodes in the order they are added.
|
||||
[CATransaction begin];
|
||||
|
||||
[view addSubview:node.view];
|
||||
|
||||
[CATransaction commit];
|
||||
}
|
||||
|
||||
#pragma mark -
|
||||
|
||||
Reference in New Issue
Block a user