mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-19 19:51:20 -08:00
优化弹幕层级
This commit is contained in:
1 parent
100785bd58
commit
39ea75450c
3 files changed
+3
-7
No files matched your search
@@ -403,9 +403,7 @@
|
||||
waitDanmu.$ref.style.border = 'none';
|
||||
waitDanmu.$ref.style.transform = 'translateX(0px) translateY(0px) translateZ(0px)';
|
||||
waitDanmu.$ref.style.transition = 'transform 0s linear 0s';
|
||||
var $children = this.layer.$ref.children;
|
||||
var childrenLen = $children.length;
|
||||
this.layer.$ref.insertBefore(waitDanmu.$ref, $children[childrenLen - 1]);
|
||||
this.layer.$ref.appendChild(waitDanmu.$ref);
|
||||
return waitDanmu.$ref;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user