mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-05-19 19:10:05 +08:00
This reverts commit 2804d50220.
This commit is contained in:
committed by
Hannah Trosi
parent
df86186e18
commit
4000433da1
@@ -795,9 +795,13 @@ static ASDisplayNodeMethodOverrides GetASDisplayNodeMethodOverrides(Class c)
|
||||
completion();
|
||||
}
|
||||
|
||||
|
||||
// Setup pending layout transition for animation
|
||||
_pendingLayoutTransition = [[ASLayoutTransition alloc] initWithNode:self
|
||||
pendingLayout:newLayout
|
||||
previousLayout:previousLayout];
|
||||
|
||||
// Apply the subnode insertion immediately to be able to animate the nodes
|
||||
[_pendingLayoutTransition applySubnodeInsertions];
|
||||
|
||||
_transitionContext = [[_ASTransitionContext alloc] initWithAnimation:animated
|
||||
|
||||
Reference in New Issue
Block a user