From 6ad9a8320bf80ed45adf311e10ca6f5f20771140 Mon Sep 17 00:00:00 2001 From: zhongyang219 Date: Tue, 21 Jan 2025 20:28:08 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Win11=E4=B8=8B=E4=BD=BF?= =?UTF-8?q?=E7=94=A8startallback=E6=94=B9=E4=B8=BA=E6=97=A7=E7=89=88?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=A0=8F=E6=97=B6=EF=BC=8C=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=A0=8F=E7=AA=97=E5=8F=A3=E8=AE=BE=E7=BD=AE=E4=B8=AD=E2=80=9C?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E6=A0=8F=E7=AA=97=E5=8F=A3=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E5=9C=A8=E4=BB=BB=E5=8A=A1=E6=A0=8F=E5=B7=A6=E4=BE=A7=E2=80=9D?= =?UTF-8?q?=E7=9A=84=E9=80=89=E9=A1=B9=E4=BB=8D=E7=84=B6=E8=A2=AB=E7=A6=81?= =?UTF-8?q?=E7=94=A8=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TrafficMonitor/TaskBarSettingsDlg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TrafficMonitor/TaskBarSettingsDlg.cpp b/TrafficMonitor/TaskBarSettingsDlg.cpp index ac019941..f8c09119 100644 --- a/TrafficMonitor/TaskBarSettingsDlg.cpp +++ b/TrafficMonitor/TaskBarSettingsDlg.cpp @@ -115,7 +115,7 @@ void CTaskBarSettingsDlg::EnableControl() bool taskbar_on_left_check = (IsDlgButtonChecked(IDC_TASKBAR_WND_ON_LEFT_CHECK) != FALSE); EnableDlgCtrl(IDC_TASKBAR_WND_SNAP_CHECK, CTaskBarDlg::IsTaskbarCloseToIconEnable(taskbar_on_left_check)); //Win11下,任务栏左对齐时禁用“任务栏窗口显示在任务栏左侧”的选项 - EnableDlgCtrl(IDC_TASKBAR_WND_ON_LEFT_CHECK, !theApp.m_win_version.IsWindows11OrLater() || CWindowsSettingHelper::IsTaskbarCenterAlign()); + EnableDlgCtrl(IDC_TASKBAR_WND_ON_LEFT_CHECK, !theApp.m_is_windows11_taskbar || CWindowsSettingHelper::IsTaskbarCenterAlign()); EnableDlgCtrl(IDC_ENABLE_COLOR_EMOJI_CHECK, !m_data.disable_d2d); }