Skip to content

Commit

Permalink
Lighten the slide cover
Browse files Browse the repository at this point in the history
  • Loading branch information
wyne committed Mar 19, 2024
1 parent fb87328 commit 646ec77
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/components/Interactions/Slide/Slide.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,6 @@ const Slide: React.FC<HalfTapProps> = ({
powerHoldRef.current = powerHold;
}, [powerHold]);

//#endregion

//#region Derivated Animation values

const scale = holdDuration.interpolate({
inputRange: [0, powerHoldTime * .9, powerHoldTime],
outputRange: [1, 1.1, 1.05],
Expand Down Expand Up @@ -261,10 +257,10 @@ const styles = StyleSheet.create({
},
sliderTop: {
top: -1000,
backgroundColor: 'rgba(0,0,0,0.25)'
backgroundColor: 'rgba(0,0,0,0.15)',
},
sliderBottom: {
top: '100%',
backgroundColor: 'rgba(0,0,0,0.25)'
backgroundColor: 'rgba(0,0,0,0.15)',
},
});

0 comments on commit 646ec77

Please sign in to comment.