From b8450d36720ce66d5bc6a3f621f88b3c2243687b Mon Sep 17 00:00:00 2001 From: strawberry42271 <2806566736@qq.com> Date: Wed, 16 Apr 2025 07:37:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AD=98=E8=AF=BB=E6=A1=A3=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- project/plugins.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/plugins.js b/project/plugins.js index 22a5d9f..6c83432 100644 --- a/project/plugins.js +++ b/project/plugins.js @@ -24729,7 +24729,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = } core.setTextAlign(ctx, "left") - core.fillBoldText1( + if (data.cg.name) core.fillBoldText1( ctx, `【${data.cg.name}】`, 1143, 720, '#FFFFFF', @@ -24737,7 +24737,7 @@ var plugins_bb40132b_638b_4a9f_b028_d3fe47acc8d1 = 2, this._buildFont(30, true) ); - core.drawTextContent(ctx, data.cg.text, { + if (data.cg.text) core.drawTextContent(ctx, data.cg.text, { left: 1143, top: 750, bold: true,