artplayer@5.0.3

This commit is contained in:
Harvey Zack committed 2023-04-26 11:22:17 +08:00
1 parent 336627cae3
commit 217e83eac5
10 files changed
+13 -12

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export default function volume(option) {
function getVolumeFromEvent(event) {
const { top, height } = $slider.getBoundingClientRect();
return 1 - (event.pageY - top) / height;
return 1 - (event.clientY - top) / height;
}
function update() {