mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Reset sMatrixDecompositionContext before applying transformations
Summary: Recover accidentally removed call to `sMatrixDecompositionContext.reset()` added in https://github.com/facebook/react-native/pull/25438. Reviewed By: mdvacca Differential Revision: D17136023 fbshipit-source-id: 01d351729b427a01a04e3a260f72c12da7b8d03a
This commit is contained in:
committed by
Facebook Github Bot
parent
67fe9b29e8
commit
bf01dfbc97
@@ -287,6 +287,7 @@ public abstract class BaseViewManager<T extends View, C extends LayoutShadowNode
|
||||
}
|
||||
|
||||
private static void setTransformProperty(@NonNull View view, ReadableArray transforms) {
|
||||
sMatrixDecompositionContext.reset();
|
||||
TransformHelper.processTransform(transforms, sTransformDecompositionArray);
|
||||
MatrixMathHelper.decomposeMatrix(sTransformDecompositionArray, sMatrixDecompositionContext);
|
||||
view.setTranslationX(
|
||||
|
||||
Reference in New Issue
Block a user