From a9f4069cedc192a7539634153de7d3a73d8f7725 Mon Sep 17 00:00:00 2001 From: Eric Vicenti Date: Wed, 10 Jun 2015 23:37:27 -0700 Subject: [PATCH] [AdsManager] Improve animation configurations --- .../CustomComponents/Navigator/NavigatorSceneConfigs.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Libraries/CustomComponents/Navigator/NavigatorSceneConfigs.js b/Libraries/CustomComponents/Navigator/NavigatorSceneConfigs.js index 48be13ea1..439534ddd 100644 --- a/Libraries/CustomComponents/Navigator/NavigatorSceneConfigs.js +++ b/Libraries/CustomComponents/Navigator/NavigatorSceneConfigs.js @@ -313,14 +313,14 @@ var FromTheFrontAndroid = { opacity: { from: 0, to: 1, - min: 0, + min: 0.5, max: 1, type: 'linear', extrapolate: false, round: 100, }, transformTranslate: { - from: {x: 0, y: 50, z: 0}, + from: {x: 0, y: 100, z: 0}, to: {x: 0, y: 0, z: 0}, min: 0, max: 1, @@ -329,7 +329,7 @@ var FromTheFrontAndroid = { round: PixelRatio.get(), }, translateY: { - from: 50, + from: 100, to: 0, min: 0, max: 1, @@ -432,6 +432,8 @@ var NavigatorSceneConfigs = { FloatFromBottomAndroid: { ...BaseConfig, gestures: null, + defaultTransitionVelocity: 3, + springFriction: 20, animationInterpolators: { into: buildStyleInterpolator(FromTheFrontAndroid), out: buildStyleInterpolator(ToTheBackAndroid),