Skip to content

Commit

Permalink
v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
TahaSh committed Dec 14, 2024
1 parent add60ad commit c73c4eb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
3 changes: 1 addition & 2 deletions dist/swapy.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ function Dt(t, e) {
B();
}, n.startDelay)) : B();
function B() {
E = y.target, y.preventDefault();
E = y.target;
const L = t.boundingRect(), q = t.layoutRect();
m = q.x, v = q.y, c = L.x - m, f = L.y - v, h = y.clientX - c, s = y.clientY - f, g = y.clientX, T = y.clientY, r = (y.clientX - L.x) / L.width, I = (y.clientY - L.y) / L.height, l = !0, X(y);
}
Expand Down Expand Up @@ -187,7 +187,6 @@ function Dt(t, e) {
return;
}
if (!y.isPrimary) return;
y.preventDefault();
const B = y.clientX - g, L = y.clientY - T, q = c = y.clientX - h, U = f = y.clientY - s;
i == null || i({
width: B,
Expand Down
Loading

0 comments on commit c73c4eb

Please sign in to comment.