mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-11 22:06:17 -08:00
Update getDanmuTop.js
This commit is contained in:
1 parent
afcb601c84
commit
ffd7a38b35
1 file changed
+1
-1
@@ -76,7 +76,7 @@ export default function getDanmuTop(ins, danmu) {
|
||||
const top = danmuData.top - playerData.top;
|
||||
const left = danmuData.left - playerData.left;
|
||||
const right = playerData.width - left - width;
|
||||
return { top, left, height, width, right, item };
|
||||
return { top, left, height, width, right };
|
||||
})
|
||||
.sort((prev, next) => {
|
||||
return prev.top - next.top;
|
||||
|
||||
Reference in new issue
Block a user