diff --git a/components/agents/AgentPsdTemplateEditorDialog.tsx b/components/agents/AgentPsdTemplateEditorDialog.tsx index 16dafcc30..3d9321227 100644 --- a/components/agents/AgentPsdTemplateEditorDialog.tsx +++ b/components/agents/AgentPsdTemplateEditorDialog.tsx @@ -2209,7 +2209,7 @@ export function AgentPsdTemplateEditorDialog({
文字颜色
- 当前模板允许在两种系统预设颜色之间切换。 + 选中文字后,可直接点击下面按钮切换品牌预设文字颜色。
+
+ {textColorConfig.colors.map((color, index) => { + const isActive = + getResolvedTextLayerColor( + selectedTextLayer, + color + ) === + getResolvedTextLayerColor( + selectedTextLayer, + selectedTextColor + ); + return ( + + ); + })} +
{textColorConfig.colors.map((color, index) => { const isActive =