Skip to content

Commit

Permalink
Update CustomCursor.jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
aniruddh-cloudaeye authored Sep 24, 2024
1 parent f3e0388 commit 92e8fe5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/App/components/CustomCursor/CustomCursor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ function CustomCursor({ interaction = "", cursorText = undefined }) {

const variants = {
default: {
x: mousePosition.x - 8,
y: mousePosition.y - 8,
x: mousePosition.x - 8.25,
y: mousePosition.y - 8.25,
},
button: {
x: mousePosition.x - 8,
Expand Down Expand Up @@ -39,7 +39,7 @@ function CustomCursor({ interaction = "", cursorText = undefined }) {
<motion.div
id="cursor"
animate={interaction == "" ? "default" : interaction}
transition={{ duration: 0.1 }}
transition={{ duration: 0.125 }}
variants={variants}
>
{cursorText == undefined ? <></> : cursorText}
Expand Down

0 comments on commit 92e8fe5

Please sign in to comment.