From 016abafee4a252ce62e43cd7df5bc2ab774554f4 Mon Sep 17 00:00:00 2001 From: doudou0720 <98651603+doudou0720@users.noreply.github.com> Date: Sat, 21 Mar 2026 17:46:19 +0800 Subject: [PATCH] =?UTF-8?q?fix(UI):=20=E4=B8=BA=E6=96=B0=E8=AE=BE=E7=BD=AE?= =?UTF-8?q?=E3=80=81=E4=BA=91=E5=82=A8=E5=AD=98=E7=AE=A1=E7=90=86=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E5=9F=BA=E6=9C=AC=E8=A7=A6=E6=8E=A7=E6=94=AF=E6=8C=81?= =?UTF-8?q?=20(#409)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 实测部分按钮(如新设置的云储存按钮)仍然有问题 统一设置所有ScrollViewer控件的PanningMode为VerticalOnly,防止水平滚动干扰用户体验 Signed-off-by: doudou0720 <98651603+doudou0720@users.noreply.github.com> --- Ink Canvas/Windows/CloudStorageManagementWindow.xaml | 6 +++--- .../Windows/SettingsViews/SettingsViews/AboutPanel.xaml | 4 ++-- .../Windows/SettingsViews/SettingsViews/AdvancedPanel.xaml | 2 +- .../SettingsViews/SettingsViews/AppearancePanel.xaml | 4 ++-- .../SettingsViews/SettingsViews/AutomationPanel.xaml | 2 +- .../SettingsViews/SettingsViews/CanvasAndInkPanel.xaml | 2 +- .../SettingsViews/SettingsViews/CrashActionPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/GesturesPanel.xaml | 2 +- .../SettingsViews/SettingsViews/InkRecognitionPanel.xaml | 2 +- .../SettingsViews/SettingsViews/LuckyRandomPanel.xaml | 2 +- .../SettingsViews/SettingsViews/PowerPointPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/SearchPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/SecurityPanel.xaml | 3 ++- .../SettingsViews/SettingsViews/SettingsBaseView.xaml | 4 ++-- .../Windows/SettingsViews/SettingsViews/ShortcutsPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/SnapshotPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/StartupPanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/StoragePanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/ThemePanel.xaml | 2 +- .../Windows/SettingsViews/SettingsViews/TimerPanel.xaml | 2 +- .../SettingsViews/SettingsViews/UpdateCenterPanel.xaml | 2 +- 21 files changed, 27 insertions(+), 26 deletions(-) diff --git a/Ink Canvas/Windows/CloudStorageManagementWindow.xaml b/Ink Canvas/Windows/CloudStorageManagementWindow.xaml index 9255da74..4997b5e7 100644 --- a/Ink Canvas/Windows/CloudStorageManagementWindow.xaml +++ b/Ink Canvas/Windows/CloudStorageManagementWindow.xaml @@ -192,7 +192,7 @@ - + - + - + - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/AdvancedPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/AdvancedPanel.xaml index fe5fec8c..830c83f6 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/AdvancedPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/AdvancedPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/AppearancePanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/AppearancePanel.xaml index fef55676..2ffa4032 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/AppearancePanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/AppearancePanel.xaml @@ -1,4 +1,4 @@ - - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/AutomationPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/AutomationPanel.xaml index d5955776..7c8b4a49 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/AutomationPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/AutomationPanel.xaml @@ -20,7 +20,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/CanvasAndInkPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/CanvasAndInkPanel.xaml index aff58eca..b0353e3e 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/CanvasAndInkPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/CanvasAndInkPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/CrashActionPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/CrashActionPanel.xaml index 9eb13b1a..81a6c12d 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/CrashActionPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/CrashActionPanel.xaml @@ -7,7 +7,7 @@ xmlns:ui="http://schemas.inkore.net/lib/ui/wpf/modern" mc:Ignorable="d" d:DesignHeight="950" d:DesignWidth="640"> - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/GesturesPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/GesturesPanel.xaml index a9955fb4..88a12406 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/GesturesPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/GesturesPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/InkRecognitionPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/InkRecognitionPanel.xaml index ff5a3bdf..5311763a 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/InkRecognitionPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/InkRecognitionPanel.xaml @@ -20,7 +20,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/LuckyRandomPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/LuckyRandomPanel.xaml index 09c14af5..c456ddb5 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/LuckyRandomPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/LuckyRandomPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/PowerPointPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/PowerPointPanel.xaml index a530fc2e..e2938f04 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/PowerPointPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/PowerPointPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/SearchPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/SearchPanel.xaml index 073bbe38..7e3019ec 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/SearchPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/SearchPanel.xaml @@ -63,7 +63,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/SecurityPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/SecurityPanel.xaml index cfb9c7d1..f73a920e 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/SecurityPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/SecurityPanel.xaml @@ -29,7 +29,8 @@ HorizontalScrollBarVisibility="Disabled" IsTabStop="False" TabIndex="-1" - Margin="0,0,2,2"> + Margin="0,0,2,2" + PanningMode="VerticalOnly"> diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/SettingsBaseView.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/SettingsBaseView.xaml index 2f78f3b4..4156da7c 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/SettingsBaseView.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/SettingsBaseView.xaml @@ -1,4 +1,4 @@ - - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/ShortcutsPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/ShortcutsPanel.xaml index a61b7aaf..b686e467 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/ShortcutsPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/ShortcutsPanel.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:Ink_Canvas.Windows.SettingsViews" mc:Ignorable="d" d:DesignHeight="950" d:DesignWidth="640"> - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/SnapshotPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/SnapshotPanel.xaml index 00dfc551..d095155a 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/SnapshotPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/SnapshotPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/StartupPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/StartupPanel.xaml index e5629286..b983cafc 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/StartupPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/StartupPanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/StoragePanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/StoragePanel.xaml index 8cea62de..311d8b30 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/StoragePanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/StoragePanel.xaml @@ -6,7 +6,7 @@ xmlns:local="clr-namespace:Ink_Canvas.Windows.SettingsViews" mc:Ignorable="d" d:DesignHeight="950" d:DesignWidth="640"> - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/ThemePanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/ThemePanel.xaml index f05c2832..8de58d01 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/ThemePanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/ThemePanel.xaml @@ -25,7 +25,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/TimerPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/TimerPanel.xaml index b58b2401..1de53a4f 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/TimerPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/TimerPanel.xaml @@ -20,7 +20,7 @@ - + diff --git a/Ink Canvas/Windows/SettingsViews/SettingsViews/UpdateCenterPanel.xaml b/Ink Canvas/Windows/SettingsViews/SettingsViews/UpdateCenterPanel.xaml index 433370e8..569f6a63 100644 --- a/Ink Canvas/Windows/SettingsViews/SettingsViews/UpdateCenterPanel.xaml +++ b/Ink Canvas/Windows/SettingsViews/SettingsViews/UpdateCenterPanel.xaml @@ -27,7 +27,7 @@ - +