mirror of
https://github.com/remvze/moodist.git
synced 2025-12-17 08:54:13 +00:00
style: change button animation
This commit is contained in:
parent
7363e8d51a
commit
c44a86361e
1 changed files with 2 additions and 2 deletions
|
|
@ -15,11 +15,11 @@ export function UnselectButton() {
|
|||
const hasHistory = useSoundStore(state => !!state.history);
|
||||
const unselectAll = useSoundStore(state => state.unselectAll);
|
||||
|
||||
const variants = mix(fade(), slideX(20));
|
||||
const variants = mix(fade(), slideX(10));
|
||||
|
||||
return (
|
||||
<>
|
||||
<AnimatePresence mode="popLayout">
|
||||
<AnimatePresence mode="wait">
|
||||
{(!noSelected || hasHistory) && (
|
||||
<motion.div
|
||||
animate="show"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue