feat(icons): 新增微软 Fluent Emoji 3D 位图图标源(1586 个,MIT),支持位图图标渲染与导出内联

This commit is contained in:
sgp
2026-11-05 11:33:36 +08:00
parent 07d2a79a60
commit fcb70e8c7f
1606 changed files with 266 additions and 55 deletions
+2 -2
View File
@@ -1254,7 +1254,7 @@ const HGB_UI = (function () {
designState.avatarMode ? (p.markElements || []) : activeLockupElements(p),
p.bg, null, { trim: true });
if (fmt === 'svg') {
HGB_Exporter.exportSvg(svgStr);
await HGB_Exporter.exportSvg(svgStr);
toast('✅ 已导出 SVG 矢量图');
} else if (fmt === 'png') {
await HGB_Exporter.exportPng(1024, p.bg, svgStr);
@@ -1423,7 +1423,7 @@ const HGB_UI = (function () {
const svgStr = HGB_Exporter.buildSvgFrom(
designState.activePlan.elements, designState.activePlan.bg, null, { trim: true });
if (exportFormat === 'svg') {
HGB_Exporter.exportSvg(svgStr);
await HGB_Exporter.exportSvg(svgStr);
toast('✅ 已导出 SVG 矢量图');
closeExportModal();
return;