feat(design1): 光盘导出环形裁剪与画布/缩略图样式统一

导出与预览 PNG 按光盘外圆与中心孔透明裁剪;画布蒙版改为与背景同色 #31373D;缩略图改 PNG 环形铺底;Web/Electron 同步。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
24kycj
2026-06-28 22:16:15 +08:00
parent c24004d6c7
commit efeb3bcc41
4 changed files with 185 additions and 27 deletions
+1 -1
View File
@@ -1889,7 +1889,7 @@ function initCanvasEvents() {
ctx.arc(cx, cy, r_inner, 0, Math.PI * 2, false);
ctx.closePath();
ctx.fillStyle = "rgba(0, 0, 0, 0.9)"; // 90% 遮罩
ctx.fillStyle = '#31373D';
ctx.fill();
ctx.restore();
}