Skip to content

Commit

Permalink
bump version and build
Browse files Browse the repository at this point in the history
  • Loading branch information
simeydotme committed Jan 7, 2021
1 parent 919506b commit bc8766f
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions dist/svelte-range-slider-pips.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* svelte-range-slider-pips ~ 1.5.2
* svelte-range-slider-pips ~ 1.5.3
* Multi-Thumb, Accessible, Beautiful Range Slider with Pips
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 29/12/2020
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 7/1/2021
*/
(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :
Expand Down Expand Up @@ -1662,11 +1662,11 @@
let hVal = 0;

if (vertical) {
hPos = clientPos.y - dims.top;
hPos = clientPos.clientY - dims.top;
hPercent = hPos / dims.height * 100;
hVal = (max - min) / 100 * hPercent + min;
} else {
hPos = clientPos.x - dims.left;
hPos = clientPos.clientX - dims.left;
hPercent = hPos / dims.width * 100;
hVal = (max - min) / 100 * hPercent + min;
}
Expand Down Expand Up @@ -1710,11 +1710,11 @@
let hVal = 0;

if (vertical) {
hPos = clientPos.y - dims.top;
hPos = clientPos.clientY - dims.top;
hPercent = hPos / dims.height * 100;
hVal = (max - min) / 100 * hPercent + min;
} else {
hPos = clientPos.x - dims.left;
hPos = clientPos.clientX - dims.left;
hPercent = hPos / dims.width * 100;
hVal = (max - min) / 100 * hPercent + min;
}
Expand Down
12 changes: 6 additions & 6 deletions dist/svelte-range-slider-pips.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/**
* svelte-range-slider-pips ~ 1.5.2
* svelte-range-slider-pips ~ 1.5.3
* Multi-Thumb, Accessible, Beautiful Range Slider with Pips
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 29/12/2020
* © MPL-2.0 ~ Simon Goellner <[email protected]> ~ 7/1/2021
*/
function noop() { }
function run(fn) {
Expand Down Expand Up @@ -1656,11 +1656,11 @@ function instance$1($$self, $$props, $$invalidate) {
let hVal = 0;

if (vertical) {
hPos = clientPos.y - dims.top;
hPos = clientPos.clientY - dims.top;
hPercent = hPos / dims.height * 100;
hVal = (max - min) / 100 * hPercent + min;
} else {
hPos = clientPos.x - dims.left;
hPos = clientPos.clientX - dims.left;
hPercent = hPos / dims.width * 100;
hVal = (max - min) / 100 * hPercent + min;
}
Expand Down Expand Up @@ -1704,11 +1704,11 @@ function instance$1($$self, $$props, $$invalidate) {
let hVal = 0;

if (vertical) {
hPos = clientPos.y - dims.top;
hPos = clientPos.clientY - dims.top;
hPercent = hPos / dims.height * 100;
hVal = (max - min) / 100 * hPercent + min;
} else {
hPos = clientPos.x - dims.left;
hPos = clientPos.clientX - dims.left;
hPercent = hPos / dims.width * 100;
hVal = (max - min) / 100 * hPercent + min;
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "svelte-range-slider-pips",
"version": "1.5.2",
"version": "1.5.3",
"svelte": "src/index.js",
"module": "dist/svelte-range-slider-pips.mjs",
"main": "dist/svelte-range-slider-pips.js",
Expand Down

0 comments on commit bc8766f

Please sign in to comment.