mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 00:31:20 -08:00
update event.button === 0
This commit is contained in:
1 parent
e9e1e08de5
commit
d531c41735
4 files changed
+7
-7
No files matched your search
@@ -55,7 +55,7 @@ export default function volume(option) {
|
||||
let isDroging = false;
|
||||
|
||||
proxy($slider, 'mousedown', (event) => {
|
||||
isDroging = true;
|
||||
isDroging = event.button === 0;
|
||||
art.volume = getVolumeFromEvent(event);
|
||||
});
|
||||
|
||||
|
||||
Reference in new issue
Block a user