From 97bcf168b7edd130e01b35c698e54132d9cf7e03 Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sat, 4 Oct 2025 17:15:58 +0800 Subject: [PATCH] =?UTF-8?q?improve:=E4=B8=BB=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow_cs/MW_AutoTheme.cs | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs b/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs index 36542bc9..c01465be 100644 --- a/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs +++ b/Ink Canvas/MainWindow_cs/MW_AutoTheme.cs @@ -262,8 +262,25 @@ namespace Ink_Canvas Settings.Appearance.FloatingBarImg = 3; } - // 更新浮动栏图标 UpdateFloatingBarIcon(); + UpdateFloatingBarIconComboBox(); + } + catch (Exception) + { + } + } + + /// + /// 更新设置界面中的浮动栏图标选择下拉框显示 + /// + private void UpdateFloatingBarIconComboBox() + { + try + { + if (ComboBoxFloatingBarImg != null) + { + ComboBoxFloatingBarImg.SelectedIndex = Settings.Appearance.FloatingBarImg; + } } catch (Exception) {