From 47c7da3a1fd6b52bc1696b4467128d4e6e8c66c2 Mon Sep 17 00:00:00 2001 From: 134 Date: Mon, 22 Jun 2026 18:30:03 +0800 Subject: [PATCH] fix: align detail scale adjust buttons --- components/agents/AgentGenerationWorkspaceDarkV2.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/components/agents/AgentGenerationWorkspaceDarkV2.tsx b/components/agents/AgentGenerationWorkspaceDarkV2.tsx index 351cb3700..730018919 100644 --- a/components/agents/AgentGenerationWorkspaceDarkV2.tsx +++ b/components/agents/AgentGenerationWorkspaceDarkV2.tsx @@ -1483,10 +1483,13 @@ function DetailResultLocalEditDialog({ {DETAIL_SCALE_ADJUST_OPTIONS.map((option) => { const active = selectedScalePercent === option; const Icon = option > 0 ? Maximize2 : Minimize2; + const labelAction = option > 0 ? "放大" : "缩小"; + const labelValue = `${Math.abs(option)}%`; return ( ); })}