Tweak opacity of overlay

This commit is contained in:
Brent Vatne 2018-10-11 12:01:26 -07:00
parent bf5a8411f8
commit bc166f85ad
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ function forHorizontal(props) {
// TODO: disable overlay by default, add flag to enable // TODO: disable overlay by default, add flag to enable
let overlayOpacity = position.interpolate({ let overlayOpacity = position.interpolate({
inputRange: [index, last - 0.5, last, last + EPS], inputRange: [index, last - 0.5, last, last + EPS],
outputRange: [0, 0.05, 0.05, 0], outputRange: [0, 0.07, 0.07, 0],
extrapolate: 'clamp', extrapolate: 'clamp',
}); });