Reverted commit D4099819

Summary:
Now that native animations for opacity and springs have landed in both iOS and Android, we can enable native animations both for TouchableBounce and TouchableOpacity.
Closes https://github.com/facebook/react-native/pull/10583

Differential Revision: D4099819

Pulled By: jingc

fbshipit-source-id: de70f8732b84d4caf0e4adfb2ad0e95b3de5da0f
This commit is contained in:
Adam Miskiewicz 2016-10-29 13:47:46 -07:00 committed by Facebook Github Bot
parent cd97128ba3
commit 426e66cfe6
2 changed files with 1 additions and 2 deletions

View File

@ -88,7 +88,6 @@ var TouchableBounce = React.createClass({
toValue: value,
velocity,
bounciness,
useNativeDriver: true,
}).start(callback);
},

View File

@ -87,7 +87,7 @@ var TouchableOpacity = React.createClass({
setOpacityTo: function(value: number) {
Animated.timing(
this.state.anim,
{toValue: value, duration: 150, useNativeDriver: true}
{toValue: value, duration: 150}
).start();
},