fork(fix): Clone AMLL 并修复 BUG

- 将AMLL Clone到本以地进行修复和优化(emm虽然这很不优雅但是暂时无时间做子模块和Fork)
- 修复在当前播放歌词行不可见的视口Seek会出现滚动偏移的问题
This commit is contained in:
lqtmcstudio
2026-06-07 00:02:14 +08:00
parent 783d2c3dee
commit 72f4510dc8
458 changed files with 86075 additions and 1665 deletions

View File

@@ -0,0 +1,24 @@
const timeStampsTestCasesReg: [string, number][] = [
["1", 1_000],
["2.1", 2_100],
["3.12", 3_120],
["4.123", 4_123],
["5.1234", 5_123],
["6.12354", 6_124],
["7.123456", 7_123],
["8.00100000", 8_001],
["61", 61_000],
["2:01", 2 * 60_000 + 1_000],
["3:1", 3 * 60_000 + 1_000],
["4:1.1", 4 * 60_000 + 1_100],
["5:1.12", 5 * 60_000 + 1_120],
["06:1.12", 6 * 60_000 + 1_120],
["07:01.012", 7 * 60_000 + 1_012],
["61:21", 61 * 60_000 + 21_000],
["1:2:3.123", 1 * 3600_000 + 2 * 60_000 + 3_123],
["01:05:03.123", 1 * 3600_000 + 5 * 60_000 + 3_123],
];
export const timeStampsTestCases = timeStampsTestCasesReg.toSorted(
([, t1], [, t2]) => t1 - t2,
) as readonly [string, number][];