1
0
Fork 0
mirror of https://github.com/VueTorrent/VueTorrent.git synced 2025-03-24 18:40:59 +03:00

fix(RightClickMenu): Fix target not being selected on long press ()

This commit is contained in:
Rémi Marseault 2023-11-10 20:10:10 +01:00 committed by GitHub
parent 672ab0863f
commit d80cc35e94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -326,7 +326,7 @@ function endPress() {
<v-list-item v-for="torrent in paginatedTorrents" :id="`torrent-${torrent.hash}`"
:class="display.mobile ? 'mb-2' : 'mb-4'" class="pa-0" @contextmenu="onRightClick($event, torrent)"
@touchcancel="endPress" @touchend="endPress" @touchmove="endPress" @touchstart="startPress"
@touchcancel="endPress" @touchend="endPress" @touchmove="endPress" @touchstart="startPress($event, torrent)"
@dblclick.prevent="goToInfo(torrent.hash)">
<div class="d-flex align-center">
<v-expand-x-transition>