mirror of
https://github.com/zhw2590582/ArtPlayer.git
synced 2026-10-13 15:56:15 -08:00
update
This commit is contained in:
1 parent
5508660c19
commit
13e56aed01
3 files changed
+25
-11
No files matched your search
@@ -92,13 +92,21 @@ export default function getDanmuTop(ins, danmu) {
|
||||
}
|
||||
}
|
||||
|
||||
// const test = topMap.map((list) => {
|
||||
// return list.map((item) => {
|
||||
// return target.speed * item.time;
|
||||
// });
|
||||
const test = topMap.map((list) => {
|
||||
return list.map((item) => {
|
||||
return target.speed * item.time;
|
||||
});
|
||||
});
|
||||
|
||||
console.log(test);
|
||||
|
||||
// topMap.sort((prev, next) => {
|
||||
// const nextMinRight = Math.min(...next.map((item) => target.speed * item.time));
|
||||
// const prevMinRight = Math.min(...prev.map((item) => target.speed * item.time));
|
||||
// return prevMinRight - nextMinRight;
|
||||
// });
|
||||
|
||||
console.log(target);
|
||||
// console.log(JSON.parse(JSON.stringify(topMap)));
|
||||
|
||||
if (antiOverlap) {
|
||||
switch (target.mode) {
|
||||
|
||||
Reference in new issue
Block a user