From 307a1bedb02c88ea930c236991b8d69f92f8f51f Mon Sep 17 00:00:00 2001 From: Janic Duplessis Date: Fri, 9 Jun 2017 16:20:48 -0400 Subject: [PATCH] Native Animated - Call x.__makeNative before super.__makeNative --- Libraries/Animated/src/AnimatedImplementation.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Libraries/Animated/src/AnimatedImplementation.js b/Libraries/Animated/src/AnimatedImplementation.js index 5143899de1cd26..1d6c7aba529986 100644 --- a/Libraries/Animated/src/AnimatedImplementation.js +++ b/Libraries/Animated/src/AnimatedImplementation.js @@ -1218,9 +1218,9 @@ class AnimatedDivision extends AnimatedWithChildren { } __makeNative() { - super.__makeNative(); this._a.__makeNative(); this._b.__makeNative(); + super.__makeNative(); } __getValue(): number { @@ -1266,9 +1266,9 @@ class AnimatedMultiplication extends AnimatedWithChildren { } __makeNative() { - super.__makeNative(); this._a.__makeNative(); this._b.__makeNative(); + super.__makeNative(); } __getValue(): number { @@ -1309,8 +1309,8 @@ class AnimatedModulo extends AnimatedWithChildren { } __makeNative() { - super.__makeNative(); this._a.__makeNative(); + super.__makeNative(); } __getValue(): number { @@ -1356,8 +1356,8 @@ class AnimatedDiffClamp extends AnimatedWithChildren { } __makeNative() { - super.__makeNative(); this._a.__makeNative(); + super.__makeNative(); } interpolate(config: InterpolationConfigType): AnimatedInterpolation {