From 5cced9baf2e14131a7e57e014447b69fa9db230d Mon Sep 17 00:00:00 2001 From: CJKmkp <2564608840@qq.com> Date: Sun, 5 Oct 2025 21:13:37 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=9B=BE=E6=A0=87=E6=95=B0=E7=BB=84?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow_cs/MW_Settings.cs | 4 ++-- Ink Canvas/Windows/CustomIconWindow.xaml.cs | 4 ++-- ...vasForClass.csproj.AssemblyReference.cache | Bin 38044 -> 38181 bytes 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Ink Canvas/MainWindow_cs/MW_Settings.cs b/Ink Canvas/MainWindow_cs/MW_Settings.cs index aafe6dd1..c87378d8 100644 --- a/Ink Canvas/MainWindow_cs/MW_Settings.cs +++ b/Ink Canvas/MainWindow_cs/MW_Settings.cs @@ -433,8 +433,8 @@ namespace Ink_Canvas public void UpdateCustomIconsInComboBox() { - // 保留前11个内置图标选项 - while (ComboBoxFloatingBarImg.Items.Count > 11) + // 保留前12个内置图标选项 + while (ComboBoxFloatingBarImg.Items.Count > 12) { ComboBoxFloatingBarImg.Items.RemoveAt(ComboBoxFloatingBarImg.Items.Count - 1); } diff --git a/Ink Canvas/Windows/CustomIconWindow.xaml.cs b/Ink Canvas/Windows/CustomIconWindow.xaml.cs index fb89d189..5fff7008 100644 --- a/Ink Canvas/Windows/CustomIconWindow.xaml.cs +++ b/Ink Canvas/Windows/CustomIconWindow.xaml.cs @@ -37,8 +37,8 @@ namespace Ink_Canvas } // 如果当前选中的是被删除的图标,重置为默认图标 - if (MainWindow.Settings.Appearance.FloatingBarImg >= 8 && - MainWindow.Settings.Appearance.FloatingBarImg - 8 >= MainWindow.Settings.Appearance.CustomFloatingBarImgs.Count) + if (MainWindow.Settings.Appearance.FloatingBarImg >= 12 && + MainWindow.Settings.Appearance.FloatingBarImg - 12 >= MainWindow.Settings.Appearance.CustomFloatingBarImgs.Count) { MainWindow.Settings.Appearance.FloatingBarImg = 0; mainWindow.ComboBoxFloatingBarImg.SelectedIndex = 0; diff --git a/Ink Canvas/obj/Debug/net472/InkCanvasForClass.csproj.AssemblyReference.cache b/Ink Canvas/obj/Debug/net472/InkCanvasForClass.csproj.AssemblyReference.cache index c8c2dfbd497b829755ee6211820ad2e2d43c9d13..57d842b8b7d92d5308ee26301638a87ff9085d80 100644 GIT binary patch delta 70 zcmbQUl4B~nPN5rP?War*kO`k`FUd8TkDE=&SuZ6ghmjGefZ>7T XjqeIqIY4T;%1rbO^o$LR4J{b}mk1Gb delta 23 fcmZ3wifPVDCJr`6Lk0#0#>B~nPN5rP?WX_$OSlGi