From 7c0a7de4df4df79a46b0c8ba6a4c2b33e3be4581 Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 18 Mar 2024 17:22:24 +0100 Subject: [PATCH] fix(settings): App Store Discover carousel animations are inverted Signed-off-by: Ferdinand Thiessen --- .../src/components/AppStoreDiscover/CarouselType.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/settings/src/components/AppStoreDiscover/CarouselType.vue b/apps/settings/src/components/AppStoreDiscover/CarouselType.vue index d0f410b433d..42493d24f31 100644 --- a/apps/settings/src/components/AppStoreDiscover/CarouselType.vue +++ b/apps/settings/src/components/AppStoreDiscover/CarouselType.vue @@ -101,12 +101,12 @@ export default defineComponent({ const internalId = computed(() => props.id ?? (Math.random() + 1).toString(36).substring(7)) const headingId = computed(() => `${internalId.value}-h`) - const transitionName = ref('slide-out') + const transitionName = ref('slide-in') watch(() => currentIndex.value, (o, n) => { if (o < n) { - transitionName.value = 'slide-out' - } else { transitionName.value = 'slide-in' + } else { + transitionName.value = 'slide-out' } // Wait next tick