修复改变播放速率时会导致歌词报错的问题
This commit is contained in:
@@ -133,8 +133,8 @@ module.exports = class FontPlayer {
|
||||
// let lineText = ''
|
||||
let lrcShadowContent
|
||||
for (const font of fonts) {
|
||||
if (!timeRxp.test(font)) return this._handleLineParse()
|
||||
text = font.replace(timeRxp, '')
|
||||
if (RegExp.$2 == '') return this._handleLineParse()
|
||||
const time = parseInt(RegExp.$2)
|
||||
|
||||
const dom = document.createElement('span')
|
||||
|
||||
Reference in New Issue
Block a user