add:PPT侧边栏
This commit is contained in:
@@ -1748,6 +1748,15 @@ namespace Ink_Canvas
|
||||
UpdatePPTBtnPreview();
|
||||
}
|
||||
|
||||
private void ToggleSwitchShowPPTSidebarByDefault_Toggled(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!isLoaded) return;
|
||||
Settings.PowerPointSettings.ShowPPTSidebarByDefault = ToggleSwitchShowPPTSidebarByDefault.IsOn;
|
||||
SaveSettingsToFile();
|
||||
if (BtnPPTSlideShowEnd?.Visibility == Visibility.Visible)
|
||||
UpdatePPTQuickPanelVisibility();
|
||||
}
|
||||
|
||||
private void ToggleSwitchEnablePPTButtonPageClickable_OnToggled(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (!isLoaded) return;
|
||||
|
||||
@@ -562,6 +562,10 @@ namespace Ink_Canvas
|
||||
}
|
||||
ComboBoxPPTTimeCapsulePosition.SelectedIndex = position;
|
||||
}
|
||||
if (ToggleSwitchShowPPTSidebarByDefault != null)
|
||||
{
|
||||
ToggleSwitchShowPPTSidebarByDefault.IsOn = Settings.PowerPointSettings.ShowPPTSidebarByDefault;
|
||||
}
|
||||
|
||||
// -- new --
|
||||
ToggleSwitchShowPPTButton.IsOn = Settings.PowerPointSettings.ShowPPTButton;
|
||||
|
||||
Reference in New Issue
Block a user