mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-12 23:36:15 -08:00
fix(danmuku): [PKG-DANMUKU-11] start visible lifetime after Worker placement
This commit is contained in:
1 parent
24b883d862
commit
df6a6fe82e
18 files changed
+3328
-9
No files matched your search
@@ -676,6 +676,7 @@ var artplayerPluginDanmuku = (function() {
|
||||
if (!this.active(operation) || danmu.$ref !== ref)
|
||||
return;
|
||||
if (top !== void 0) {
|
||||
danmu.$lastStartTime = Date.now();
|
||||
owner.setState(danmu, "emit");
|
||||
owner.renderer.place(danmu, ref, top, distance, clientWidth);
|
||||
operation.ref = null;
|
||||
|
||||
Reference in new issue
Block a user