mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 08:01: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
@@ -7,7 +7,7 @@ export default function stateMix(art) {
|
||||
set(name) {
|
||||
for (let index = 0; index < states.length; index++) {
|
||||
const prop = states[index];
|
||||
if (prop !== name) {
|
||||
if (prop !== name && art[prop]) {
|
||||
art[prop] = false;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user