diff options
| author | Hazelnoot <acomputerdog@gmail.com> | 2025-05-29 13:13:14 -0400 |
|---|---|---|
| committer | Hazelnoot <acomputerdog@gmail.com> | 2025-05-29 13:13:14 -0400 |
| commit | eed4f7855c93f5eedb1592e8fc122c6af4fa2c8e (patch) | |
| tree | be3819cd62436df00a4a1b7657fa5e1ba0a8cfe9 /packages/frontend/src/components | |
| parent | use SkTransitionGroup in all locations that hardcode use of TransitionGroup (diff) | |
| download | sharkey-eed4f7855c93f5eedb1592e8fc122c6af4fa2c8e.tar.gz sharkey-eed4f7855c93f5eedb1592e8fc122c6af4fa2c8e.tar.bz2 sharkey-eed4f7855c93f5eedb1592e8fc122c6af4fa2c8e.zip | |
fix :animate condition in MkImgWithBlurhash
Diffstat (limited to 'packages/frontend/src/components')
| -rw-r--r-- | packages/frontend/src/components/MkImgWithBlurhash.vue | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/frontend/src/components/MkImgWithBlurhash.vue b/packages/frontend/src/components/MkImgWithBlurhash.vue index 44ede356d0..c3a9d989e3 100644 --- a/packages/frontend/src/components/MkImgWithBlurhash.vue +++ b/packages/frontend/src/components/MkImgWithBlurhash.vue @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only <template> <div ref="root" :class="['chromatic-ignore', $style.root, { [$style.cover]: cover }]" :title="title ?? ''"> <SkTransitionGroup - :animate="props.transition != null" + :animate="prefer.s.animation && props.transition != null" :duration="props.transition?.duration" :enterActiveClass="props.transition?.enterActiveClass" :leaveActiveClass="(props.transition?.leaveActiveClass ?? $style.transition_leaveActive)" |