mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-25 16:11:20 -08:00
update
This commit is contained in:
1 parent
bd9d0a436c
commit
b195d93e63
4 files changed
+6
-6
No files matched your search
@@ -103,7 +103,7 @@ export default 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) {
|
||||
@@ -296,7 +296,7 @@ export default class Danmuku {
|
||||
}
|
||||
} else {
|
||||
danmu.$state = 'ready';
|
||||
danmu.$ref.style.visibility = 'hidden';
|
||||
this.$danmuku.removeChild(danmu.$ref);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user