From 4dba1e3d947ca4fa072d7224d15c84eb23c68af9 Mon Sep 17 00:00:00 2001 From: jeffvli Date: Thu, 9 Oct 2025 14:27:06 -0700 Subject: [PATCH] update card controls animation back to slide up --- src/renderer/components/item-card/item-card-controls.tsx | 2 +- src/renderer/components/item-card/item-card.tsx | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/renderer/components/item-card/item-card-controls.tsx b/src/renderer/components/item-card/item-card-controls.tsx index dadab8079..cec747da1 100644 --- a/src/renderer/components/item-card/item-card-controls.tsx +++ b/src/renderer/components/item-card/item-card-controls.tsx @@ -42,7 +42,7 @@ const containerProps = { animate: 'show', exit: 'hidden', initial: 'hidden', - variants: animationVariants.combine(animationVariants.zoomIn, animationVariants.fadeIn), + variants: animationVariants.combine(animationVariants.slideInUp, animationVariants.fadeIn), }, }; diff --git a/src/renderer/components/item-card/item-card.tsx b/src/renderer/components/item-card/item-card.tsx index 81bb65b1e..686e66a1c 100644 --- a/src/renderer/components/item-card/item-card.tsx +++ b/src/renderer/components/item-card/item-card.tsx @@ -32,7 +32,6 @@ interface ItemCardProps { data: Album | AlbumArtist | Artist | Playlist | Song | undefined; isRound?: boolean; itemType: LibraryItem; - type?: 'compact' | 'default' | 'poster'; withControls?: boolean; }