mirror of
https://github.com/gotson/komga.git
synced 2026-05-05 02:53:09 +02:00
refactor(web reader): use reverse attribute of v-carousel
This commit is contained in:
parent
daebed6bc7
commit
722773671f
1 changed files with 1 additions and 3 deletions
|
|
@ -25,13 +25,11 @@
|
|||
:continuous="false"
|
||||
height="auto"
|
||||
touchless
|
||||
:reverse="rtl"
|
||||
>
|
||||
<!-- Carousel: pages -->
|
||||
<!-- Replace transition and reverse-transition with 'reverse' on v-carousel once https://github.com/vuetifyjs/vuetify/issues/10182 is delivered -->
|
||||
<v-carousel-item v-for="p in slidesRange"
|
||||
:key="doublePages ? `db${p}` : `sp${p}`"
|
||||
:transition="rtl ? 'v-window-x-reverse-transition' : 'v-window-x-transition'"
|
||||
:reverse-transition="rtl ? 'v-window-x-transition' : 'v-window-x-reverse-transition'"
|
||||
:eager="eagerLoad(p)"
|
||||
>
|
||||
<div :class="`d-flex flex-row${rtl ? '-reverse' : ''} justify-center`">
|
||||
|
|
|
|||
Loading…
Reference in a new issue