Skip to content

Commit bf01dfb

Browse files
makovkastarfacebook-github-bot
authored andcommitted
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
1 parent 67fe9b2 commit bf01dfb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ReactAndroid/src/main/java/com/facebook/react/uimanager/BaseViewManager.java

+1
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,7 @@ public void setAccessibilityLiveRegion(@NonNull T view, @Nullable String liveReg
287287
}
288288

289289
private static void setTransformProperty(@NonNull View view, ReadableArray transforms) {
290+
sMatrixDecompositionContext.reset();
290291
TransformHelper.processTransform(transforms, sTransformDecompositionArray);
291292
MatrixMathHelper.decomposeMatrix(sTransformDecompositionArray, sMatrixDecompositionContext);
292293
view.setTranslationX(

0 commit comments

Comments
 (0)