From bc166f85adb282fe46e47e6e82ee1c328ab5e52d Mon Sep 17 00:00:00 2001 From: Brent Vatne Date: Thu, 11 Oct 2018 12:01:26 -0700 Subject: [PATCH] Tweak opacity of overlay --- src/views/StackView/StackViewStyleInterpolator.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/StackView/StackViewStyleInterpolator.js b/src/views/StackView/StackViewStyleInterpolator.js index 6c5fd96..74ff71d 100644 --- a/src/views/StackView/StackViewStyleInterpolator.js +++ b/src/views/StackView/StackViewStyleInterpolator.js @@ -69,7 +69,7 @@ function forHorizontal(props) { // TODO: disable overlay by default, add flag to enable let overlayOpacity = position.interpolate({ inputRange: [index, last - 0.5, last, last + EPS], - outputRange: [0, 0.05, 0.05, 0], + outputRange: [0, 0.07, 0.07, 0], extrapolate: 'clamp', });