From 12b21d6f3b23b5fc46854f11c31f27f09e291957 Mon Sep 17 00:00:00 2001 From: 134 Date: Mon, 22 Jun 2026 21:38:29 +0800 Subject: [PATCH] fix: unify canvas scale edit entry --- .../agents/AgentGenerationWorkspaceDarkV2.tsx | 30 ++-- components/canvas/nodes/ImageNode.tsx | 158 ++++++++---------- 2 files changed, 91 insertions(+), 97 deletions(-) diff --git a/components/agents/AgentGenerationWorkspaceDarkV2.tsx b/components/agents/AgentGenerationWorkspaceDarkV2.tsx index 378781e8b..233c90ecb 100644 --- a/components/agents/AgentGenerationWorkspaceDarkV2.tsx +++ b/components/agents/AgentGenerationWorkspaceDarkV2.tsx @@ -1463,16 +1463,20 @@ function DetailResultLocalEditDialog({ draggable={false} src={buildImageProxyUrl(target.imageUrl, { width: 1200, quality: 88 })} /> - {regions.map((region) => { - const isActive = region.id === activeRegionId; - return ( - - ) : null} - {isSelectedImageActionInline("removeWatermark") ? (