mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-23 05:41:20 -08:00
update stateMix
This commit is contained in:
1 parent
609ccb4c46
commit
4035135a69
3 files changed
+3
-3
No files matched your search
@@ -2799,7 +2799,7 @@ function stateMix(art) {
|
||||
set (name) {
|
||||
for(let index = 0; index < states.length; index++){
|
||||
const prop = states[index];
|
||||
if (prop !== name) art[prop] = false;
|
||||
if (prop !== name && art[prop]) art[prop] = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user