mirror of
https://github.com/remvze/moodist.git
synced 2026-02-26 13:00:14 -05:00
style: change button animation
This commit is contained in:
parent
7363e8d51a
commit
c44a86361e
@ -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…
x
Reference in New Issue
Block a user