chore(弹幕组件): 调整速度计算

This commit is contained in:
hzj 2026-01-20 17:19:10 +08:00
parent b82abc8a65
commit 3e02409dc6

View File

@ -173,7 +173,7 @@ const getBarrageStyle = (item) => {
const generateBarrageProps = (item) => {
const textLength = item.content.length
return {
duration: Math.min(5 + textLength * 0.1, 8), // 0.28
duration: Math.min(5 + textLength * 0.1, 10), // 0.28
startPos: 0, //
}
}