Skip to content

Commit

Permalink
[iOS] Fabric: Fixes transform when there are multiple values that con…
Browse files Browse the repository at this point in the history
…tain a matrix.
  • Loading branch information
zhongwuzw committed Nov 7, 2024
1 parent 287e200 commit 47744e5
Showing 1 changed file with 7 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -567,9 +567,13 @@ Transform BaseViewProps::resolveTransform(
transformMatrix = transform;
} else {
for (const auto& operation : transform.operations) {
transformMatrix = transformMatrix *
Transform::FromTransformOperation(
operation, layoutMetrics.frame.size);
if (operation.type == TransformOperationType::Arbitrary) {
transformMatrix = transformMatrix * transform;
} else {
transformMatrix = transformMatrix *
Transform::FromTransformOperation(
operation, layoutMetrics.frame.size);
}
}
}

Expand Down

0 comments on commit 47744e5

Please sign in to comment.