From 91ff6b9edb33b8813573b1fab0694d03b803e3ab Mon Sep 17 00:00:00 2001 From: MOH Date: Sun, 20 Sep 2026 21:34:10 +0200 Subject: [PATCH] POLISHED - Soften dock bounce animation to match macOS feel --- components/layout/site-dock.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/layout/site-dock.tsx b/components/layout/site-dock.tsx index 153b9eb..b5c9393 100644 --- a/components/layout/site-dock.tsx +++ b/components/layout/site-dock.tsx @@ -65,8 +65,8 @@ export function SiteDock({ defaultLocale, isSuperAdmin = false }: SiteDockProps) ? {} : { onClick: () => setBouncing(id), - animate: bouncing === id ? { y: [0, -18, 0, -6, 0] } : { y: 0 }, - transition: { duration: 0.5, ease: "easeOut" as const }, + animate: bouncing === id ? { y: [0, -5, 0, -2, 0] } : { y: 0 }, + transition: { duration: 0.35, ease: [0.22, 1, 0.36, 1] }, onAnimationComplete: () => setBouncing((cur) => (cur === id ? null : cur)), };