拆分图片画布生成对象注册表

新增画布生成对象 dialog 管理 hook
补充生成对象注册表 hook 单测
调整 Lovart 式画布背景色板弹层
更新图片画布前端拆分跟踪文档
This commit is contained in:
2026-06-17 05:29:04 +08:00
parent 9f45641ccd
commit 37a738e271
8 changed files with 595 additions and 220 deletions

View File

@@ -1991,7 +1991,7 @@ describe('ImageCanvasEditorView', () => {
const settingsPanel = screen.getByRole('dialog', {
name: '画布背景设置',
});
expect(within(settingsPanel).getByText('画布背景')).toBeTruthy();
expect(within(settingsPanel).getByText('画布背景')).toBeTruthy();
fireEvent.click(
within(settingsPanel).getByRole('button', { name: '暖灰' }),