mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Back out "[react-native][PR] Support Interpolation of strings when using native driver in Animated, fix Expected node to be marked as "native", optimize AnimatedNode creation and connections"
Summary: Original commit changeset: 82a948a95419 Reviewed By: TheSavior Differential Revision: D14631845 fbshipit-source-id: f20d8150bccf50ea85388761e2f31ca4f97ae158
This commit is contained in:
committed by
Facebook Github Bot
parent
58cd20459f
commit
95c7db90b8
@@ -16,7 +16,6 @@ import javax.annotation.Nullable;
|
||||
* library.
|
||||
*/
|
||||
/*package*/ class ValueAnimatedNode extends AnimatedNode {
|
||||
/*package*/ Object mAnimatedObject = null;
|
||||
/*package*/ double mValue = Double.NaN;
|
||||
/*package*/ double mOffset = 0;
|
||||
private @Nullable AnimatedNodeValueListener mValueListener;
|
||||
@@ -34,10 +33,6 @@ import javax.annotation.Nullable;
|
||||
return mOffset + mValue;
|
||||
}
|
||||
|
||||
public Object getAnimatedObject() {
|
||||
return mAnimatedObject;
|
||||
}
|
||||
|
||||
public void flattenOffset() {
|
||||
mValue += mOffset;
|
||||
mOffset = 0;
|
||||
|
||||
Reference in New Issue
Block a user