mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-21 04:31:20 -08:00
update ci
This commit is contained in:
1 parent
bf0f7bfcaa
commit
aba956d4a4
7 files changed
+28
-18
No files matched your search
@@ -23,8 +23,9 @@ export default function volumeMix(art, player) {
|
||||
});
|
||||
|
||||
Object.defineProperty(player, 'mute', {
|
||||
value: () => {
|
||||
player.volume = 0;
|
||||
get: () => player.volume === 0,
|
||||
set: mute => {
|
||||
player.volume = mute ? 0 : storage.get('volume');
|
||||
},
|
||||
});
|
||||
}
|
||||
Reference in new issue
Block a user