From 3e75fe4ae3ee1eac0530cd9bb9cfa33972e10e7b Mon Sep 17 00:00:00 2001 From: Raspberry-Monster Date: Sun, 2 Jun 2024 12:07:12 +0800 Subject: [PATCH] [Typo] Fix Typo --- Ink Canvas/MainWindow.xaml.cs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index b6b6eb6d..b41e7b30 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -1507,7 +1507,7 @@ private void SetColorByIndex() { if (inkColor == 0) { - inkCanvas.DefaultDrawingAttributes.Color = Colors.White; + BtnColorBlack_Click(null,null); } else if (inkColor == 1) { @@ -6995,11 +6995,9 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e) }); })).Start(); } - BorderPenColorRed_MouseUp(BorderPenColorRed, null); - - SetDarkColors(); + BorderPenColorRed_MouseUp(BorderPenColorRed, null); } - + SetDarkColors(); BtnSwitch_Click(BtnSwitch, null); if (currentMode == 0 && inkCanvas.Strokes.Count == 0 && BtnPPTSlideShowEnd.Visibility != Visibility.Visible)