From aaa2eb482a49ba8782b9015e9483ce9cd73d6a2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=BE=B7=E5=AE=87?= Date: Fri, 18 Sep 2026 22:08:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=9C=80=E7=BB=88=E9=A2=84?= =?UTF-8?q?=E8=A7=88=E6=A1=86=E7=BA=BF=E6=B5=8B=E8=AF=95=E8=AF=AD=E4=B9=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 无框线场景不再传入选中节点以匹配选中态高亮规则 保留显式 showFrame 时的选中框与控制点断言 --- apps/ai-game-creator-shell/tests/uiEditorPreview.test.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/ai-game-creator-shell/tests/uiEditorPreview.test.tsx b/apps/ai-game-creator-shell/tests/uiEditorPreview.test.tsx index 21b40e692..a2dece1ba 100644 --- a/apps/ai-game-creator-shell/tests/uiEditorPreview.test.tsx +++ b/apps/ai-game-creator-shell/tests/uiEditorPreview.test.tsx @@ -219,9 +219,7 @@ describe('UI tree preview visibility', () => { }); it('shows final-preview node frames and resize handles only when requested', () => { - const withoutFrames = renderTree('final-preview', new Set(), { - selectedNodeId: 'child', - }); + const withoutFrames = renderTree('final-preview', new Set()); const plainChild = withoutFrames.container.querySelector( '[data-node-id="child"]', ) as HTMLDivElement;