diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index 18846091..54d929de 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -6932,15 +6932,14 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e) } BtnSwitch_Click(BtnSwitch, null); - if (currentMode == 0 && inkCanvas.Strokes.Count == 0 && BtnPPTSlideShowEnd.Visibility != Visibility.Visible) - { - BtnHideInkCanvas_Click(BtnHideInkCanvas, null); - } - BtnExit.Foreground = Brushes.White; ThemeManager.Current.ApplicationTheme = ApplicationTheme.Dark; SetColors(); SetColorByIndex(); + if (currentMode == 0 && inkCanvas.Strokes.Count == 0 && BtnPPTSlideShowEnd.Visibility != Visibility.Visible) + { + BtnHideInkCanvas_Click(BtnHideInkCanvas, null); + } } private void ImageEraser_MouseUp(object sender, MouseButtonEventArgs e)