mirror of
https://github.com/sudoxnym/audiobookshelf-atv.git
synced 2026-05-22 21:56:39 +00:00
Fix:Ignore swiping for audio player when modal is open #1099
This commit is contained in:
parent
e443ba09da
commit
15aaef742d
1 changed files with 1 additions and 1 deletions
|
|
@ -652,7 +652,7 @@ export default {
|
|||
this.closePlayback()
|
||||
},
|
||||
touchstart(e) {
|
||||
if (!e.changedTouches) return
|
||||
if (!e.changedTouches || this.$store.state.globals.isModalOpen) return
|
||||
const touchPosY = e.changedTouches[0].pageY
|
||||
// when minimized only listen to touchstart on the player
|
||||
if (!this.showFullscreen && touchPosY < window.innerHeight - 120) return
|
||||
|
|
|
|||
Loading…
Reference in a new issue