From 678b4f602473fbff338c11e84a8fd90b701b2406 Mon Sep 17 00:00:00 2001 From: kengwang Date: Sun, 5 Feb 2023 19:45:58 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=20=E4=BF=AE=E6=94=B9=20PPT=20=E6=88=AA?= =?UTF-8?q?=E5=9B=BE=E6=97=B6=E6=9C=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PPT 给的反馈有点慢, 一般都是切换完了才给提示. 直接在单击按钮时截图 祈祷老师们不要点太快 --- Ink Canvas/MainWindow.xaml.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Ink Canvas/MainWindow.xaml.cs b/Ink Canvas/MainWindow.xaml.cs index 82b7110..f32f99e 100644 --- a/Ink Canvas/MainWindow.xaml.cs +++ b/Ink Canvas/MainWindow.xaml.cs @@ -2308,9 +2308,6 @@ namespace Ink_Canvas ms.Position = 0; memoryStreams[previousSlideID] = ms; - if (inkCanvas.Strokes.Count > 0 && Settings.Automation.IsAutoSaveScreenShotInPowerPoint) - SaveScreenShot(true, Wn.Presentation.Name + "/" + Wn.View.CurrentShowPosition); - BtnRedo.IsEnabled = false; BtnRedo.Visibility = Visibility.Collapsed; @@ -2343,6 +2340,8 @@ namespace Ink_Canvas GridBackgroundCover.Visibility = Visibility.Collapsed; currentMode = 0; } + if (inkCanvas.Strokes.Count > 0 && Settings.Automation.IsAutoSaveScreenShotInPowerPoint) + SaveScreenShot(true, pptApplication.Presentations[1].Name + "/" + pptApplication.Presentations[1].SlideShowWindow.View.CurrentShowPosition); try { @@ -2366,7 +2365,8 @@ namespace Ink_Canvas GridBackgroundCover.Visibility = Visibility.Collapsed; currentMode = 0; } - + if (inkCanvas.Strokes.Count > 0 && Settings.Automation.IsAutoSaveScreenShotInPowerPoint) + SaveScreenShot(true, pptApplication.Presentations[1].Name + "/" + pptApplication.Presentations[1].SlideShowWindow.View.CurrentShowPosition); try { new Thread(new ThreadStart(() =>