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 732650d commit 1bcaf07Copy full SHA for 1bcaf07
.prettierrc
@@ -0,0 +1,4 @@
1
+{
2
+ "tabWidth": 2,
3
+ "useTabs": false
4
+}
src/RangeSlider.svelte
@@ -44,7 +44,9 @@
44
// save spring-tweened copies of the values for use
45
// when changing values and animating the handle/range nicely
46
let springPositions = spring(
47
- values.map((v) => parseFloat((((v - min) / (max - min)) * 100).toFixed(precision))),
+ values.map((v) =>
48
+ parseFloat((((v - min) / (max - min)) * 100).toFixed(precision))
49
+ ),
50
springValues
51
);
52
0 commit comments