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

Commit 7872cfb

Browse files
maickiHannah Troisi
authored andcommitted
Reverting back _finishOrCancelTransition that was mistakingly moved in a recent PR (#2820)
1 parent bdd1077 commit 7872cfb

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

AsyncDisplayKit/ASDisplayNode.mm

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1072,6 +1072,9 @@ - (void)transitionLayoutWithSizeRange:(ASSizeRange)constrainedSize
10721072

10731073
// Kick off animating the layout transition
10741074
[self animateLayoutTransition:_pendingLayoutTransitionContext];
1075+
1076+
// Mark transaction as finished
1077+
[self _finishOrCancelTransition];
10751078
});
10761079
};
10771080

@@ -1295,9 +1298,6 @@ - (void)transitionContext:(_ASTransitionContext *)context didComplete:(BOOL)didC
12951298
_pendingLayoutTransitionContext = nil;
12961299

12971300
[self _pendingLayoutTransitionDidComplete];
1298-
1299-
// Mark transaction as finished
1300-
[self _finishOrCancelTransition];
13011301
}
13021302

13031303
#pragma mark - Layout

0 commit comments

Comments
 (0)