Skip to content

Commit 02fa775

Browse files
committed
修复昨天的问题
1 parent 51c6127 commit 02fa775

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Ink Canvas/MainWindow.xaml.cs

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6988,9 +6988,6 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e)
69886988
if (currentMode == 0)
69896989
{
69906990
//进入黑板
6991-
if (Settings.Canvas.UsingWhiteboard) SetDarkColors(); //在白板上用深色墨迹
6992-
else SetLightColors(); //在黑板上用浅色墨迹
6993-
69946991
Topmost = false;
69956992

69966993
if (BtnPPTSlideShowEnd.Visibility == Visibility.Collapsed)
@@ -7019,12 +7016,13 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e)
70197016
{
70207017
BorderPenColorWhite_MouseUp(BorderPenColorWhite, null);
70217018
}
7019+
7020+
if (Settings.Canvas.UsingWhiteboard) SetDarkColors(); //在白板上用深色墨迹
7021+
else SetLightColors(); //在黑板上用浅色墨迹
70227022
}
70237023
else
70247024
{
70257025
//关闭黑板
7026-
SetDarkColors();
7027-
70287026
Topmost = true;
70297027

70307028
if (isInMultiTouchMode) BorderMultiTouchMode_MouseUp(null, null);
@@ -7049,6 +7047,8 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e)
70497047
})).Start();
70507048
}
70517049
BorderPenColorRed_MouseUp(BorderPenColorRed, null);
7050+
7051+
SetDarkColors();
70527052
}
70537053

70547054
BtnSwitch_Click(BtnSwitch, null);

0 commit comments

Comments
 (0)