Skip to content

Commit

Permalink
Reset sMatrixDecompositionContext before applying transformations
Browse files Browse the repository at this point in the history
Summary: Recover accidentally removed call to `sMatrixDecompositionContext.reset()` added in #25438.

Reviewed By: mdvacca

Differential Revision: D17136023

fbshipit-source-id: 01d351729b427a01a04e3a260f72c12da7b8d03a
  • Loading branch information
makovkastar authored and facebook-github-bot committed Sep 4, 2019
1 parent 67fe9b2 commit bf01dfb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,7 @@ public void setAccessibilityLiveRegion(@NonNull T view, @Nullable String liveReg
}

private static void setTransformProperty(@NonNull View view, ReadableArray transforms) {
sMatrixDecompositionContext.reset();
TransformHelper.processTransform(transforms, sTransformDecompositionArray);
MatrixMathHelper.decomposeMatrix(sTransformDecompositionArray, sMatrixDecompositionContext);
view.setTranslationX(
Expand Down

0 comments on commit bf01dfb

Please sign in to comment.