diff --git a/src/utils/lyrics.js b/src/utils/lyrics.js index 517e9f4..2156e98 100644 --- a/src/utils/lyrics.js +++ b/src/utils/lyrics.js @@ -62,8 +62,7 @@ function parseLyric(lrc) { for (const timestamp of lyricTimestamps.matchAll(extractTimestampRegex)) { const { min, sec, ms } = timestamp.groups; const rawTime = timestamp[0]; - const time = - Number(min) * 60 + Number(sec) + Number(ms ?? 0) * 0.001; + const time = Number(min) * 60 + Number(sec) + Number(ms ?? 0) * 0.001; /** @type {ParsedLyric} */ const parsedLyric = { rawTime, time, content: trimContent(content) };