mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 11:21:20 -08:00
update gestureInit.js
This commit is contained in:
1 parent
7410a5be98
commit
a989de98e5
3 files changed
+4
-4
No files matched your search
@@ -14,7 +14,7 @@ export default function gestureInit(art, events) {
|
||||
let startTime = 0;
|
||||
|
||||
const onTouchStart = (event) => {
|
||||
if (event.touches.length === 1) {
|
||||
if (event.touches.length === 1 && !art.isLock) {
|
||||
isDroging = true;
|
||||
const { clientX, clientY } = event.touches[0];
|
||||
startX = clientX;
|
||||
|
||||
Reference in new issue
Block a user