fix:收纳模式下进入PPT自动进入批注异常
This commit is contained in:
@@ -698,7 +698,24 @@ namespace Ink_Canvas
|
|||||||
|
|
||||||
if (Settings.PowerPointSettings.IsShowCanvasAtNewSlideShow &&
|
if (Settings.PowerPointSettings.IsShowCanvasAtNewSlideShow &&
|
||||||
!Settings.Automation.IsAutoFoldInPPTSlideShow)
|
!Settings.Automation.IsAutoFoldInPPTSlideShow)
|
||||||
|
{
|
||||||
BtnColorRed_Click(null, null);
|
BtnColorRed_Click(null, null);
|
||||||
|
Dispatcher.BeginInvoke(new Action(() =>
|
||||||
|
{
|
||||||
|
try
|
||||||
|
{
|
||||||
|
if (inkCanvas.EditingMode == InkCanvasEditingMode.Ink)
|
||||||
|
{
|
||||||
|
UpdateCurrentToolMode("pen");
|
||||||
|
SetFloatingBarHighlightPosition("pen");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
LogHelper.WriteLogToFile($"PPT进入批注模式后同步浮动栏高光状态失败: {ex.Message}", LogHelper.LogType.Error);
|
||||||
|
}
|
||||||
|
}), DispatcherPriority.Loaded);
|
||||||
|
}
|
||||||
|
|
||||||
isEnteredSlideShowEndEvent = false;
|
isEnteredSlideShowEndEvent = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user