Skip to content
Permalink
Browse files
Reset sMatrixDecompositionContext before applying transformations
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 bf01dfbc97ea8be9d88214ab31809f2f42d6c064
Showing 1 changed file with 1 addition and 0 deletions.
@@ -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(

0 comments on commit bf01dfb

Please sign in to comment.