mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-30 12:01:20 -08:00
typofix
This commit is contained in:
1 parent
3f33e98421
commit
88067817cd
18 files changed
+35
-40
No files matched your search
@@ -78,9 +78,7 @@ export default function getDanmuTop(ins, danmu) {
|
||||
const right = playerData.width - left - width;
|
||||
return { top, left, height, width, right };
|
||||
})
|
||||
.sort((prev, next) => {
|
||||
return prev.top - next.top;
|
||||
});
|
||||
.sort((prev, next) => prev.top - next.top);
|
||||
|
||||
if (danmus.length === 0) {
|
||||
return marginTop;
|
||||
|
||||
Reference in new issue
Block a user