We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e670c2 commit 4c70b53Copy full SHA for 4c70b53
packages/actify/package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "actify",
3
- "version": "0.5.3",
+ "version": "0.5.4",
4
"license": "MIT",
5
"author": "Lerte Smith",
6
"keywords": [
packages/actify/src/components/Sliders/Slider.tsx
@@ -26,7 +26,8 @@ const Slider = (props: SliderProps) => {
26
trackRef
27
)
28
29
- const percent = Number(state.getThumbValueLabel(0)) / (maxValue - minValue)
+ const percent =
30
+ (Number(state.getThumbValueLabel(0)) - minValue) / (maxValue - minValue)
31
32
return (
33
<div
0 commit comments