Skip to content

Commit e62ef94

Browse files
committed
Restore CharacterNotesPanel exit fade/slide animation
1 parent 4d4755c commit e62ef94

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/player/src/components/CharacterNotesPanel.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,13 +69,13 @@ const variants: { container: Variants; character: Variants } = {
6969
exit: { opacity: 1 },
7070
},
7171
character: {
72-
hidden: { opacity: 1, x: 0 },
72+
hidden: { opacity: 0, x: -100 },
7373
visible: (i: number) => ({
7474
opacity: 1,
7575
x: 0,
7676
transition: { delay: i * 0.03, duration: 0.3, ease: "easeOut" },
7777
}),
78-
exit: { opacity: 1, x: 0, transition: { duration: 0.2, ease: "easeIn" } },
78+
exit: { opacity: 0, x: -100, transition: { duration: 0.2, ease: "easeIn" } },
7979
},
8080
};
8181

0 commit comments

Comments
 (0)