From f0c44fe092cc90ccc92b18ac0f5c2b3ed915dba4 Mon Sep 17 00:00:00 2001 From: STBBRD <62409850+STBBRD@users.noreply.github.com> Date: Sat, 2 Dec 2023 20:14:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=BD=93=E4=BD=BF=E7=94=A8?= =?UTF-8?q?=E6=A9=A1=E7=9A=AE=E6=97=B6=E9=9A=90=E8=97=8F=E5=86=8D=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E7=94=BB=E6=9D=BF=E5=AF=BC=E8=87=B4=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=B5=85=E8=89=B2=E7=94=BB=E7=AC=94=E7=9A=84=E9=97=AE=E9=A2=98?= =?UTF-8?q?=EF=BC=8C=E6=81=A2=E5=A4=8D=E5=AF=B9=E5=85=B3=E9=97=AD=E7=A1=AE?= =?UTF-8?q?=E8=AE=A4=E7=9A=84=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Ink Canvas/MainWindow.xaml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index 90426c9a..9670fa0d 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -534,7 +534,7 @@ private void Window_Closing(object sender, System.ComponentModel.CancelEventArgs if (!CloseIsFromButton) { e.Cancel = true; - if (MessageBox.Show("是否继续关闭 Ink Canvas 画板,这将丢失当前未保存的工作。", "Ink Canvas 画板", MessageBoxButton.OKCancel) == MessageBoxResult.OK) + if (MessageBox.Show("是否继续关闭 Ink Canvas 画板,这将丢失当前未保存的工作。", "Ink Canvas 画板", MessageBoxButton.OKCancel,MessageBoxImage.Warning) == MessageBoxResult.OK) { if (MessageBox.Show("真的狠心关闭 Ink Canvas 画板吗?", "Ink Canvas 画板", MessageBoxButton.OKCancel, MessageBoxImage.Error) == MessageBoxResult.OK) { @@ -6987,8 +6987,6 @@ private void SymbolIconRedo_MouseUp(object sender, MouseButtonEventArgs e) private async void SymbolIconCursor_Click(object sender, RoutedEventArgs e) { - SetDarkColors(); - if (currentMode != 0) { ImageBlackboard_MouseUp(null, null); @@ -7006,6 +7004,8 @@ private async void SymbolIconCursor_Click(object sender, RoutedEventArgs e) } } } + + SetDarkColors(); } private void SymbolIconDelete_MouseUp(object sender, MouseButtonEventArgs e)