mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-10 04:30:25 +02:00
re-add presence animation when collapsing sidebar image
This commit is contained in:
@@ -71,7 +71,7 @@ export const LeftControls = () => {
|
|||||||
<LayoutGroup>
|
<LayoutGroup>
|
||||||
<AnimatePresence
|
<AnimatePresence
|
||||||
initial={false}
|
initial={false}
|
||||||
mode="wait"
|
mode="popLayout"
|
||||||
>
|
>
|
||||||
{!hideImage && (
|
{!hideImage && (
|
||||||
<div className={styles.imageWrapper}>
|
<div className={styles.imageWrapper}>
|
||||||
@@ -83,7 +83,7 @@ export const LeftControls = () => {
|
|||||||
key="playerbar-image"
|
key="playerbar-image"
|
||||||
onClick={handleToggleFullScreenPlayer}
|
onClick={handleToggleFullScreenPlayer}
|
||||||
role="button"
|
role="button"
|
||||||
transition={{ duration: 0.3, ease: 'easeInOut' }}
|
transition={{ duration: 0.2, ease: 'easeIn' }}
|
||||||
>
|
>
|
||||||
<Tooltip
|
<Tooltip
|
||||||
label={t('player.toggleFullscreenPlayer', {
|
label={t('player.toggleFullscreenPlayer', {
|
||||||
|
|||||||
Reference in New Issue
Block a user