Skip to content

Commit

Permalink
Unpin window in blackboard
Browse files Browse the repository at this point in the history
  • Loading branch information
clover-yan authored May 18, 2023
1 parent fdc5651 commit 2515848
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Ink Canvas/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6657,6 +6657,7 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e)
if (currentMode == 0)
{
//进入黑板
Topmost = false;
if (BtnPPTSlideShowEnd.Visibility == Visibility.Collapsed)
{
pointDesktop = new Point(ViewboxFloatingBar.Margin.Left, ViewboxFloatingBar.Margin.Top);
Expand Down Expand Up @@ -6687,6 +6688,7 @@ private void ImageBlackboard_MouseUp(object sender, MouseButtonEventArgs e)
else
{
//关闭黑板
Topmost = true;

if (isInMultiTouchMode) BorderMultiTouchMode_MouseUp(null, null);

Expand Down

0 comments on commit 2515848

Please sign in to comment.