UI Library for Design Engineers. Animated components and effects you can copy and paste into your apps. Free. Open Source.
fix: update handleMouseEnter to capture mouse coordinates (#736)
Masaki haruta28d1dd3a4a1f
diff --git a/registry/magicui/pointer.tsx b/registry/magicui/pointer.tsxindex be75d4e1..841d398e 100644--- a/registry/magicui/pointer.tsx+++ b/registry/magicui/pointer.tsx@@ -45,7 +45,9 @@ export function Pointer({y.set(e.clientY);};- const handleMouseEnter = () => {+ const handleMouseEnter = (e: MouseEvent) => {+ x.set(e.clientX);+ y.set(e.clientY);setIsActive(true);};