We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent de7db0a commit 02c8436Copy full SHA for 02c8436
src/components/Slider.tsx
@@ -35,7 +35,10 @@ function Slider({
35
])}
36
minimumTrackTintColor={tintColor}
37
renderMinimumTrackComponent={() => (
38
- <ProgressBar value={playbackTime / thumbs[1]} tintColor={tintColor} />
+ <ProgressBar
39
+ value={(playbackTime - thumbs[0]) / (thumbs[1] - thumbs[0])}
40
+ tintColor={tintColor}
41
+ />
42
)}
43
onSlidingComplete={onSlidingComplete}
44
renderThumbComponent={() => (
0 commit comments