diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index 7d651d3b..4f53d15e 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -1062,6 +1062,15 @@ private void BtnClear_Click(object sender, RoutedEventArgs e) forceEraser = false; BorderClearInDelete.Visibility = Visibility.Collapsed; + if (currentMode == 0) { + BorderPenColorRed_MouseUp(BorderPenColorRed, null); + } else { + if (Settings.Canvas.UsingWhiteboard) { + BorderPenColorBlack_MouseUp(BorderPenColorBlack, null); + } else { + BorderPenColorWhite_MouseUp(BorderPenColorWhite, null); + } + } if (inkCanvas.Strokes.Count != 0) { int whiteboardIndex = CurrentWhiteboardIndex;