Skip to content

Commit

Permalink
[Typo] Fix Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Raspberry-Monster committed Jun 2, 2024
1 parent af6da08 commit 3e75fe4
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1507,7 +1507,7 @@ private void SetColorByIndex()
{
if (inkColor == 0)
{
inkCanvas.DefaultDrawingAttributes.Color = Colors.White;
BtnColorBlack_Click(null,null);
}
else if (inkColor == 1)
{
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 3e75fe4

Please sign in to comment.