From 07f2f25b589f1ba3a530123efd15c284e3b88b7e Mon Sep 17 00:00:00 2001 From: gaozheng Date: Tue, 16 Jun 2026 11:38:53 +0800 Subject: [PATCH] =?UTF-8?q?fix(vtk):=20=E9=80=89=E4=B8=AD=E5=88=87?= =?UTF-8?q?=E7=89=87=E8=BE=B9=E6=A1=86=E6=94=B9=E4=BA=AE=E9=9D=92(0,0.95,1?= =?UTF-8?q?)+=E5=8A=A0=E7=B2=97,=20=E6=9C=AA=E9=80=89=E6=9A=97=E7=81=B0,?= =?UTF-8?q?=20=E6=8B=89=E5=BC=80=E5=AF=B9=E6=AF=94?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/render/interact/SliceTool.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/render/interact/SliceTool.cpp b/src/render/interact/SliceTool.cpp index 033fa9a..72d133d 100644 --- a/src/render/interact/SliceTool.cpp +++ b/src/render/interact/SliceTool.cpp @@ -152,10 +152,10 @@ void SliceTool::setSelected(bool sel) { // 切片边框 = widget 的 PlaneProperty:选中→亮黄粗线,未选中→暗灰细线。 if (auto* prop = widget_->GetPlaneProperty()) { if (sel) { - prop->SetColor(1.0, 0.9, 0.1); - prop->SetLineWidth(3.0); + prop->SetColor(0.0, 0.95, 1.0); // 亮青:与未选的暗灰强对比 + prop->SetLineWidth(3.5); } else { - prop->SetColor(0.5, 0.5, 0.5); + prop->SetColor(0.35, 0.35, 0.4); // 暗灰 prop->SetLineWidth(1.0); } }