mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
fix(settings): App Store Discover carousel animations are inverted
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
parent
133a17aa96
commit
7c0a7de4df
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue