修复图片交付尺寸与提示重触发
统一图片模型的业务交付像素并保留 GPT provider 合法请求尺寸 禁止欠交付图片被放大并返回尺寸降级提示 重置相同 warning 的三秒自动关闭计时 补充前后端回归测试与编辑器契约文档
This commit is contained in:
@@ -233,10 +233,10 @@ describe('ImageCanvasGenerationDialogModel', () => {
|
||||
imageSize: '1K',
|
||||
uiDesignSpecReference: null,
|
||||
placeholder: {
|
||||
x: -64,
|
||||
y: 56,
|
||||
width: 1088,
|
||||
height: 608,
|
||||
x: -32,
|
||||
y: 72,
|
||||
width: 1024,
|
||||
height: 576,
|
||||
},
|
||||
});
|
||||
});
|
||||
@@ -622,9 +622,9 @@ describe('ImageCanvasGenerationDialogModel', () => {
|
||||
placeholder: {
|
||||
x: 472,
|
||||
y: 140,
|
||||
width: 1376,
|
||||
width: 1365,
|
||||
height: 2048,
|
||||
originalWidth: 1376,
|
||||
originalWidth: 1365,
|
||||
originalHeight: 2048,
|
||||
},
|
||||
});
|
||||
@@ -662,9 +662,9 @@ describe('ImageCanvasGenerationDialogModel', () => {
|
||||
placeholder: {
|
||||
x: 472,
|
||||
y: 140,
|
||||
width: 1376,
|
||||
width: 1365,
|
||||
height: 2048,
|
||||
originalWidth: 1376,
|
||||
originalWidth: 1365,
|
||||
originalHeight: 2048,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user