Unpin window in blackboard

This commit is contained in:
clover_yan 2023-05-18 16:46:24 +08:00 committed by GitHub
parent fdc565158a
commit 2515848dfa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6657,6 +6657,7 @@ namespace Ink_Canvas
if (currentMode == 0) if (currentMode == 0)
{ {
//进入黑板 //进入黑板
Topmost = false;
if (BtnPPTSlideShowEnd.Visibility == Visibility.Collapsed) if (BtnPPTSlideShowEnd.Visibility == Visibility.Collapsed)
{ {
pointDesktop = new Point(ViewboxFloatingBar.Margin.Left, ViewboxFloatingBar.Margin.Top); pointDesktop = new Point(ViewboxFloatingBar.Margin.Left, ViewboxFloatingBar.Margin.Top);
@ -6687,6 +6688,7 @@ namespace Ink_Canvas
else else
{ {
//关闭黑板 //关闭黑板
Topmost = true;
if (isInMultiTouchMode) BorderMultiTouchMode_MouseUp(null, null); if (isInMultiTouchMode) BorderMultiTouchMode_MouseUp(null, null);