From cc31f237820a7115eff8a0b3e8cbd57a77a0b0cc Mon Sep 17 00:00:00 2001 From: ShakeFlower Date: Sat, 5 Jul 2025 22:15:06 +0800 Subject: [PATCH] =?UTF-8?q?chore:=E5=BC=B9=E5=B9=95=E4=BD=8D=E7=BD=AE?= =?UTF-8?q?=E4=B8=8D=E6=AD=A3=E7=A1=AE=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/project/plugins.js b/project/plugins.js index b1ab880a..63012b80 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -2424,7 +2424,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = core.fillText(ctxName, content, x + ani.x, y, 'white', '16px Verdana'); }) // 弹幕的最大长度5600,再长属于异常数据 - const aim = 100 + Math.min(core.calWidth(ctxName, content, '16px Verdana'), 5000); + const aim = 100 + x + Math.min(core.calWidth(ctxName, content, '16px Verdana'), 5000); ani.mode(linear()) .time(aim / vx) .absolute()