feat(avatar): 增大工具 SVG 显示尺寸到 66px

This commit is contained in:
JOJO 2026-07-10 15:58:45 +08:00
parent 19746e67d3
commit 8594b43d8a

View File

@ -151,7 +151,7 @@ function buildFaceInner(tool: ToolDef): string {
if (tool.raw) {
return tool.motion === 'bob' ? `<g class="sa-bob">${tool.raw}</g>` : tool.raw;
}
const s = tool.scale || 2.17;
const s = tool.scale || 2.75;
const scaled = `<g transform="translate(100, 100) scale(${s}) translate(-12, -12)">${tool.svg}</g>`;
const motionClass = tool.motion === 'wiggle' ? 'sa-wiggle' : 'sa-bob';
return `<g class="${motionClass}">${scaled}</g>`;