兼容历史 UI 规范的统一图标入口
将历史 spec.generate 的 ui 类型映射到 icon\n补充 GenerationInputs V2 恢复回归测试
This commit is contained in:
@@ -1001,11 +1001,11 @@ function createNormalizedGenerationDialogDraft({
|
||||
'custom',
|
||||
);
|
||||
const specType: SpecGenerationType =
|
||||
specTypeValue === 'character' ||
|
||||
specTypeValue === 'ui' ||
|
||||
specTypeValue === 'icon'
|
||||
? specTypeValue
|
||||
: 'custom';
|
||||
specTypeValue === 'ui'
|
||||
? 'icon'
|
||||
: specTypeValue === 'character' || specTypeValue === 'icon'
|
||||
? specTypeValue
|
||||
: 'custom';
|
||||
return placeDraftBesideSourceLayer(
|
||||
{
|
||||
...createSpecDialogDraft({ canvasSize, viewport, specType }),
|
||||
|
||||
Reference in New Issue
Block a user