Add additional debug logging in LayoutAnimationDriver

Summary:
Log final when synthetic final mutations are generated at the end of an animation.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D27407768

fbshipit-source-id: 0e9aface54bcca73dfa5ea263a8474db7c47c078
This commit is contained in:
Joshua Gross 2021-03-31 21:29:13 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 92b8075120
Коммит 61d59fff23
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -146,6 +146,9 @@ void LayoutAnimationDriver::animationMutationsForFrame(
keyframe.viewPrev,
keyframe.viewEnd,
-1};
PrintMutationInstruction(
"Animation Complete: Queuing up Final Synthetic Mutation:",
mutation);
react_native_assert(mutation.oldChildShadowView.tag > 0);
react_native_assert(mutation.newChildShadowView.tag > 0);
mutationsList.push_back(mutation);