improve:PPT翻页打断
新增设置项
This commit is contained in:
@@ -1537,7 +1537,9 @@ namespace Ink_Canvas
|
||||
strokesToSave = inkCanvas.Strokes.Clone();
|
||||
}
|
||||
|
||||
if (_pptManager?.TryNavigateNext(skipAnimations: true) == true)
|
||||
var skipAnimations = Settings.PowerPointSettings.SkipAnimationsWhenGoNext;
|
||||
|
||||
if (_pptManager?.TryNavigateNext(skipAnimations: skipAnimations) == true)
|
||||
{
|
||||
var currentSlideAfterNavigate = _pptManager?.GetCurrentSlideNumber() ?? 0;
|
||||
|
||||
|
||||
@@ -578,6 +578,13 @@ namespace Ink_Canvas
|
||||
SaveSettingsToFile();
|
||||
}
|
||||
|
||||
private void ToggleSwitchSkipAnimationsWhenGoNext_OnToggled(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!isLoaded) return;
|
||||
Settings.PowerPointSettings.SkipAnimationsWhenGoNext = ToggleSwitchSkipAnimationsWhenGoNext.IsOn;
|
||||
SaveSettingsToFile();
|
||||
}
|
||||
|
||||
private void CheckboxEnableLBPPTButton_IsCheckChanged(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!isLoaded) return;
|
||||
|
||||
Reference in New Issue
Block a user