svelte-gestures
Advanced tools
Comparing version 5.1.0 to 5.1.1
@@ -392,3 +392,3 @@ const DEFAULT_DELAY = 300; // ms | ||
/* | ||
In quadrants 1 and 3 all works as expected. | ||
In quadrants 1 and 3 all works as expected. | ||
In quadrants 2 and 4, either height or width is negative, | ||
@@ -399,3 +399,3 @@ so we get negative angle. It is even the other of the two angles. | ||
This way we don't need to code our own arc cotangent fn (it does not exist in JS) | ||
*/ | ||
*/ | ||
@@ -402,0 +402,0 @@ const angle = Math.atan(width / height) / (Math.PI / 180); |
@@ -395,3 +395,3 @@ 'use strict'; | ||
/* | ||
In quadrants 1 and 3 all works as expected. | ||
In quadrants 1 and 3 all works as expected. | ||
In quadrants 2 and 4, either height or width is negative, | ||
@@ -402,3 +402,3 @@ so we get negative angle. It is even the other of the two angles. | ||
This way we don't need to code our own arc cotangent fn (it does not exist in JS) | ||
*/ | ||
*/ | ||
@@ -405,0 +405,0 @@ const angle = Math.atan(width / height) / (Math.PI / 180); |
@@ -6,3 +6,3 @@ { | ||
"license": "MIT", | ||
"version": "5.1.0", | ||
"version": "5.1.1", | ||
"main": "dist/index.svelte.js", | ||
@@ -9,0 +9,0 @@ "module": "dist/index.esm.svelte.js", |
121731
32
2607