add:新设置

This commit is contained in:
2025-08-31 16:06:36 +08:00
parent dee0bd7f4d
commit 4ea585633b
2 changed files with 5 additions and 1 deletions
@@ -3534,7 +3534,7 @@
</Border> </Border>
</Border> </Border>
<TextBlock FontSize="16" Text="设置标题" Name="SettingsWindowTitle" Foreground="#2e3436" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/> <TextBlock FontSize="16" Text="设置标题" Name="SettingsWindowTitle" Foreground="#2e3436" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center"/>
<Border CornerRadius="8" Background="#33ef4444" Width="34" Height="34" Margin="0,0,8,0" HorizontalAlignment="Right"> <Border CornerRadius="8" Background="#33ef4444" Width="34" Height="34" Margin="0,0,8,0" HorizontalAlignment="Right" MouseLeftButtonDown="CloseButton_Click" Cursor="Hand">
<Image Width="12" Height="12"> <Image Width="12" Height="12">
<Image.Source> <Image.Source>
<DrawingImage> <DrawingImage>
@@ -382,5 +382,9 @@ namespace Ink_Canvas.Windows {
if (_sidebarItemMouseDownBorder.FindDescendantByName("MouseFeedbackBorder") is Border feedbackBd) feedbackBd.Opacity = 0; if (_sidebarItemMouseDownBorder.FindDescendantByName("MouseFeedbackBorder") is Border feedbackBd) feedbackBd.Opacity = 0;
_sidebarItemMouseDownBorder = null; _sidebarItemMouseDownBorder = null;
} }
private void CloseButton_Click(object sender, MouseButtonEventArgs e) {
Close();
}
} }
} }