re-add presence animation when collapsing sidebar image

This commit is contained in:
jeffvli 2025-06-25 19:48:59 -07:00
parent 8f585a5be9
commit 6782cd0dcc

View file

@ -71,7 +71,7 @@ export const LeftControls = () => {
<LayoutGroup>
<AnimatePresence
initial={false}
mode="wait"
mode="popLayout"
>
{!hideImage && (
<div className={styles.imageWrapper}>
@ -83,7 +83,7 @@ export const LeftControls = () => {
key="playerbar-image"
onClick={handleToggleFullScreenPlayer}
role="button"
transition={{ duration: 0.3, ease: 'easeInOut' }}
transition={{ duration: 0.2, ease: 'easeIn' }}
>
<Tooltip
label={t('player.toggleFullscreenPlayer', {