[fix] 修改 PPT 截图时机
PPT 给的反馈有点慢, 一般都是切换完了才给提示. 直接在单击按钮时截图 祈祷老师们不要点太快
This commit is contained in:
parent
b3cb7bb58a
commit
678b4f6024
@ -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(() =>
|
||||
|
Loading…
Reference in New Issue
Block a user