mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-20 04:01:20 -08:00
update getPosFromEventMobile
This commit is contained in:
1 parent
e862f8d56c
commit
69d97f4d77
3 files changed
+1
-3
No files matched your search
@@ -186,7 +186,6 @@ export default function progress(options) {
|
||||
proxy(document, 'touchmove', (event) => {
|
||||
if (event.touches.length === 1 && isDroging) {
|
||||
const { second, percentage } = getPosFromEventMobile(art, event);
|
||||
console.log(second, percentage);
|
||||
setBar('played', percentage);
|
||||
art.seek = second;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user