Skip to content

Commit bc8766f

Browse files
committed
bump version and build
1 parent 919506b commit bc8766f

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

dist/svelte-range-slider-pips.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* svelte-range-slider-pips ~ 1.5.2
2+
* svelte-range-slider-pips ~ 1.5.3
33
* Multi-Thumb, Accessible, Beautiful Range Slider with Pips
4-
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 29/12/2020
4+
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 7/1/2021
55
*/
66
(function (global, factory) {
77
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
@@ -1662,11 +1662,11 @@
16621662
let hVal = 0;
16631663

16641664
if (vertical) {
1665-
hPos = clientPos.y - dims.top;
1665+
hPos = clientPos.clientY - dims.top;
16661666
hPercent = hPos / dims.height * 100;
16671667
hVal = (max - min) / 100 * hPercent + min;
16681668
} else {
1669-
hPos = clientPos.x - dims.left;
1669+
hPos = clientPos.clientX - dims.left;
16701670
hPercent = hPos / dims.width * 100;
16711671
hVal = (max - min) / 100 * hPercent + min;
16721672
}
@@ -1710,11 +1710,11 @@
17101710
let hVal = 0;
17111711

17121712
if (vertical) {
1713-
hPos = clientPos.y - dims.top;
1713+
hPos = clientPos.clientY - dims.top;
17141714
hPercent = hPos / dims.height * 100;
17151715
hVal = (max - min) / 100 * hPercent + min;
17161716
} else {
1717-
hPos = clientPos.x - dims.left;
1717+
hPos = clientPos.clientX - dims.left;
17181718
hPercent = hPos / dims.width * 100;
17191719
hVal = (max - min) / 100 * hPercent + min;
17201720
}

dist/svelte-range-slider-pips.mjs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
2-
* svelte-range-slider-pips ~ 1.5.2
2+
* svelte-range-slider-pips ~ 1.5.3
33
* Multi-Thumb, Accessible, Beautiful Range Slider with Pips
4-
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 29/12/2020
4+
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 7/1/2021
55
*/
66
function noop() { }
77
function run(fn) {
@@ -1656,11 +1656,11 @@ function instance$1($$self, $$props, $$invalidate) {
16561656
let hVal = 0;
16571657

16581658
if (vertical) {
1659-
hPos = clientPos.y - dims.top;
1659+
hPos = clientPos.clientY - dims.top;
16601660
hPercent = hPos / dims.height * 100;
16611661
hVal = (max - min) / 100 * hPercent + min;
16621662
} else {
1663-
hPos = clientPos.x - dims.left;
1663+
hPos = clientPos.clientX - dims.left;
16641664
hPercent = hPos / dims.width * 100;
16651665
hVal = (max - min) / 100 * hPercent + min;
16661666
}
@@ -1704,11 +1704,11 @@ function instance$1($$self, $$props, $$invalidate) {
17041704
let hVal = 0;
17051705

17061706
if (vertical) {
1707-
hPos = clientPos.y - dims.top;
1707+
hPos = clientPos.clientY - dims.top;
17081708
hPercent = hPos / dims.height * 100;
17091709
hVal = (max - min) / 100 * hPercent + min;
17101710
} else {
1711-
hPos = clientPos.x - dims.left;
1711+
hPos = clientPos.clientX - dims.left;
17121712
hPercent = hPos / dims.width * 100;
17131713
hVal = (max - min) / 100 * hPercent + min;
17141714
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "svelte-range-slider-pips",
3-
"version": "1.5.2",
3+
"version": "1.5.3",
44
"svelte": "src/index.js",
55
"module": "dist/svelte-range-slider-pips.mjs",
66
"main": "dist/svelte-range-slider-pips.js",

0 commit comments

Comments
 (0)