From 9f9c717299f8867e2427ca32f44d62f34dcb1581 Mon Sep 17 00:00:00 2001 From: hanqiangqiang <1364346467@qq.com> Date: Mon, 8 Jun 2026 16:56:30 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9VS2022=E5=85=BC=E5=AE=B9?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- App/SicUI/MainViewModel.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/App/SicUI/MainViewModel.cs b/App/SicUI/MainViewModel.cs index 2e318b5..4cfb734 100644 --- a/App/SicUI/MainViewModel.cs +++ b/App/SicUI/MainViewModel.cs @@ -1374,12 +1374,12 @@ namespace SicUI.Client if (menuInfo.System is "PM1" or "PM2") { var rect = FindVisualChildByName(container, "InnerBG"); - rect?.Fill = menuInfo.Selected + rect.Fill = menuInfo.Selected ? BgActiveContent : new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294")); var bgBorder = FindVisualChildByName(container, "BG"); - bgBorder?.Background = menuInfo.Selected + bgBorder.Background = menuInfo.Selected ? BgActiveContent : new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294"));