fix(tabs): Remove swipe gestures (#1356)

This commit is contained in:
Rémi Marseault 2023-11-23 22:35:17 +01:00 committed by GitHub
parent 3adeea456f
commit 41e021c63c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -96,7 +96,7 @@ onBeforeUnmount(() => {
</v-tabs>
</v-row>
<v-window v-model="tab">
<v-window v-model="tab" :touch="false">
<v-window-item value="vuetorrent">
<v-tabs v-model="innerTabV" grow color="accent" bg-color="transparent" show-arrows>
<v-tab value="general">
@ -106,7 +106,7 @@ onBeforeUnmount(() => {
{{ t('settings.tabs.vuetorrent.torrent_card') }}
</v-tab>
</v-tabs>
<v-window v-model="innerTabV">
<v-window v-model="innerTabV" :touch="false">
<v-window-item value="general">
<VGeneral />
</v-window-item>
@ -148,7 +148,7 @@ onBeforeUnmount(() => {
{{ t('settings.tabs.rss.rules') }}
</v-tab>
</v-tabs>
<v-window v-model="innerTabR">
<v-window v-model="innerTabR" :touch="false">
<v-window-item value="general">
<RGeneral />
</v-window-item>

View file

@ -76,7 +76,7 @@ onBeforeUnmount(() => {
</v-tabs>
</v-row>
<v-window v-model="tab" v-if="torrent">
<v-window v-model="tab" :touch="false" v-if="torrent">
<v-window-item value="overview">
<Overview :torrent="torrent" :is-active="tab === 'overview'" />
</v-window-item>