mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-26 17:01:20 -08:00
update
This commit is contained in:
1 parent
bd9d0a436c
commit
b195d93e63
4 files changed
+6
-6
No files matched your search
@@ -257,7 +257,7 @@ class Danmuku {
|
||||
}
|
||||
getRef() {
|
||||
const result = this.queue.find((danmu)=>{
|
||||
return danmu.$ref && (danmu.$state === 'wait' || danmu.$state === 'ready');
|
||||
return danmu.$ref && danmu.$state === 'wait';
|
||||
});
|
||||
if (result) {
|
||||
const { $ref } = result;
|
||||
@@ -416,7 +416,7 @@ class Danmuku {
|
||||
}
|
||||
} else {
|
||||
danmu.$state = 'ready';
|
||||
danmu.$ref.style.visibility = 'hidden';
|
||||
this.$danmuku.removeChild(danmu.$ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user