mess up the formatting

This commit is contained in:
Nick Gerleman
2022-10-14 08:13:23 -07:00
parent ff5d29230e
commit b34f44f4ec

View File

@@ -361,6 +361,11 @@ YOGA_EXPORT void YGNodeSwapChild(
const YGNodeRef owner, const YGNodeRef owner,
const YGNodeRef child, const YGNodeRef child,
const uint32_t index) { const uint32_t index) {
owner->replaceChild(child, index); owner->replaceChild(child, index);
child->setOwner(owner); child->setOwner(owner);
} }