[fix] white and black color dont be changed when changing the board background

This commit is contained in:
ChanginJolly 2024-05-02 01:51:17 +08:00
parent fd7b2dfb22
commit 58ff1e4a15

View File

@ -12,9 +12,9 @@ namespace Ink_Canvas {
Settings.Canvas.UsingWhiteboard = !Settings.Canvas.UsingWhiteboard;
SaveSettingsToFile();
if (Settings.Canvas.UsingWhiteboard) {
if (inkColor == 5) inkColor = 0;
if (inkColor == 5) lastBoardInkColor = 0;
} else {
if (inkColor == 0) inkColor = 5;
if (inkColor == 0) lastBoardInkColor = 5;
}
CheckColorTheme(true);
}