mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-24 23:51:20 -08:00
artplayer@5.0.3
This commit is contained in:
1 parent
336627cae3
commit
217e83eac5
10 files changed
+13
-12
No files matched your search
@@ -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() {
|
||||
|
||||
Reference in new issue
Block a user