Skip to content

Commit

Permalink
add easign to first iteration of click scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
KingSora committed Jun 21, 2024
1 parent c1e9ba4 commit 7554f4d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ export const ClickScrollPlugin = /* @__PURE__ */ (() => ({
easing
);

// easeOutQuad
stopClickAnimation = animateClickScroll(0, 0, (x) => 1 - (1 - x) * (1 - x));

return (stopClick?: boolean) => {
Expand Down

0 comments on commit 7554f4d

Please sign in to comment.