feat(icons): 新增微软 Fluent Emoji 3D 位图图标源(1586 个,MIT),支持位图图标渲染与导出内联
This commit is contained in:
+2
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user