Skip to content

Commit

Permalink
fix(tabs): Remove swipe gestures (#1356)
Browse files Browse the repository at this point in the history
  • Loading branch information
Larsluph authored Nov 23, 2023
1 parent 3adeea4 commit 41e021c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/pages/Settings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand All @@ -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>
Expand Down Expand Up @@ -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>
Expand Down
2 changes: 1 addition & 1 deletion src/pages/TorrentDetail.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 41e021c

Please sign in to comment.