From ef9b2116771517bd1d3df09e9f461534ecfecfd6 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 2 May 2026 09:51:34 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E4=B8=BB=E9=A2=98=E5=88=87=E6=8D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow_cs/MW_AutoTheme.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs b/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs index fa7edd3b..6177154a 100644 --- a/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs +++ b/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs @@ -247,7 +247,9 @@ namespace Ink_Canvas SetTheme(ThemeDark); break; case 2: - SetTheme(ThemeHelper.IsSystemThemeLightLegacy() ? ThemeLight : ThemeDark); + // 与 IsCurrentThemeDark / GetEffectiveTheme / 浮动栏一致,统一读 AppsUseLightTheme, + // 否则 SystemUsesLightTheme 与 AppsUseLightTheme 可独立取值时主题会混搭 + SetTheme(ThemeHelper.IsSystemThemeLight() ? ThemeLight : ThemeDark); break; } }