From 1b027df62eb04203d72bba91b3622186b034618e Mon Sep 17 00:00:00 2001 From: tamakyi Date: Tue, 20 Oct 2026 17:53:10 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E6=88=90=E5=99=A8=EF=BC=9A=E5=AE=9E?= =?UTF-8?q?=E6=B5=8B=E5=B0=BA=E5=AF=B8=E5=8F=96=E6=95=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=EF=BC=8C=E5=8E=BB=E6=8E=89=E9=9D=A2=E6=9D=BF=E9=87=8C=E6=94=BE?= =?UTF-8?q?=E4=B8=8D=E4=B8=8B=E7=9A=84=E6=BA=90=E5=9B=BE=E5=B0=BA=E5=AF=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- dev/theme-builder/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dev/theme-builder/index.html b/dev/theme-builder/index.html index 5694a61..801b14d 100644 --- a/dev/theme-builder/index.html +++ b/dev/theme-builder/index.html @@ -1226,9 +1226,10 @@ function renderLayerEditor(l){ tip.className = 'hint'; if (over.length){ tip.style.color = '#e0a33e'; - tip.textContent = `⚠ ${vp.w}×${vp.h}:${over.join(' / ')} 越界(显示 ${m.w}×${m.h})`; + tip.textContent = `⚠ ${vp.w}×${vp.h}:${over.join(' / ')} 越界`; } else { - tip.textContent = `${vp.w}×${vp.h} 下显示 ${m.w}×${m.h},完整可见(源 ${a0.w}×${a0.h})`; + // 一律取整:131.25 这种小数在窄面板里既占位置又没意义 + tip.textContent = `${vp.w}×${vp.h} 下显示 ${Math.round(m.w)}×${Math.round(m.h)},完整可见`; } box.appendChild(tip); if (over.length){