mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Revert D40632443: Support colors for AnimatedInterpolation on iOS
Differential Revision: D40632443 (https://github.com/facebook/react-native/commit/6003e70e84c369d7dc2c6bea50ea41f0bac79595) Original commit changeset: 4dfb29edca4b Original Phabricator Diff: D40632443 (https://github.com/facebook/react-native/commit/6003e70e84c369d7dc2c6bea50ea41f0bac79595) fbshipit-source-id: 0718fbd18c3a7a06e116d9926d40d8d9a75ed4cd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
0569f6500e
commit
de7a323f6b
@@ -38,12 +38,7 @@
|
||||
if (node) {
|
||||
if ([node isKindOfClass:[RCTValueAnimatedNode class]]) {
|
||||
RCTValueAnimatedNode *valueAnimatedNode = (RCTValueAnimatedNode *)node;
|
||||
id animatedObject = valueAnimatedNode.animatedObject;
|
||||
if (animatedObject) {
|
||||
_propsDictionary[property] = animatedObject;
|
||||
} else {
|
||||
_propsDictionary[property] = @(valueAnimatedNode.value);
|
||||
}
|
||||
_propsDictionary[property] = @(valueAnimatedNode.value);
|
||||
} else if ([node isKindOfClass:[RCTTransformAnimatedNode class]]) {
|
||||
RCTTransformAnimatedNode *transformAnimatedNode = (RCTTransformAnimatedNode *)node;
|
||||
[_propsDictionary addEntriesFromDictionary:transformAnimatedNode.propsDictionary];
|
||||
|
||||
Reference in New Issue
Block a user