fix:退出PPT时错误的快捷键状态
This commit is contained in:
@@ -10,6 +10,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using System.Windows;
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
using System.Windows.Media;
|
using System.Windows.Media;
|
||||||
using System.Windows.Threading;
|
using System.Windows.Threading;
|
||||||
using Application = System.Windows.Application;
|
using Application = System.Windows.Application;
|
||||||
@@ -827,6 +828,7 @@ namespace Ink_Canvas
|
|||||||
|
|
||||||
if (GridTransparencyFakeBackground.Background != Brushes.Transparent)
|
if (GridTransparencyFakeBackground.Background != Brushes.Transparent)
|
||||||
BtnHideInkCanvas_Click(BtnHideInkCanvas, null);
|
BtnHideInkCanvas_Click(BtnHideInkCanvas, null);
|
||||||
|
SetCurrentToolMode(InkCanvasEditingMode.None);
|
||||||
}
|
}
|
||||||
catch (Exception ex)
|
catch (Exception ex)
|
||||||
{
|
{
|
||||||
@@ -1474,6 +1476,8 @@ namespace Ink_Canvas
|
|||||||
}
|
}
|
||||||
|
|
||||||
HideSubPanels("cursor");
|
HideSubPanels("cursor");
|
||||||
|
SetCurrentToolMode(InkCanvasEditingMode.None);
|
||||||
|
|
||||||
await Task.Delay(150);
|
await Task.Delay(150);
|
||||||
ViewboxFloatingBarMarginAnimation(100, true);
|
ViewboxFloatingBarMarginAnimation(100, true);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user