Skip to content

Commit 9efcdc0

Browse files
Martin Boothfacebook-github-bot
Martin Booth
authored andcommitted
Calling setOffset actually calls setAnimatedNodeOffset currently (#50913)
Summary: Pull Request resolved: #50913 Changelog: [Android][Fixed] - Fix BatchExecutionOpCodes.OP_CODE_SET_ANIMATED_NODE_OFFSET mapping to call setAnimatedNodeOffset (rather than setAnimatedNodeValue) Reviewed By: zeyap, Abbondanzo Differential Revision: D73608624 fbshipit-source-id: 38e5b94d9fa8b0a0d776e7886020b4cb1e347821
1 parent eb2f6b1 commit 9efcdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-native/ReactAndroid/src/main/java/com/facebook/react/animated/NativeAnimatedModule.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1014,7 +1014,7 @@ public class NativeAnimatedModule(reactContext: ReactApplicationContext?) :
10141014
opsAndArgs.getInt(i++), opsAndArgs.getDouble(i++))
10151015

10161016
BatchExecutionOpCodes.OP_CODE_SET_ANIMATED_NODE_OFFSET ->
1017-
animatedNodesManager.setAnimatedNodeValue(
1017+
animatedNodesManager.setAnimatedNodeOffset(
10181018
opsAndArgs.getInt(i++), opsAndArgs.getDouble(i++))
10191019

10201020
BatchExecutionOpCodes.OP_CODE_FLATTEN_ANIMATED_NODE_OFFSET ->

0 commit comments

Comments
 (0)