add:鸿合屏幕书写查杀后自动进入批注 #38

This commit is contained in:
2025-07-21 17:28:52 +08:00
parent 19983a113e
commit 4e4ce36e76
6 changed files with 23 additions and 1 deletions
+6
View File
@@ -2183,5 +2183,11 @@ namespace Ink_Canvas {
Settings.PowerPointSettings.IsAlwaysGoToFirstPageOnReenter = ToggleSwitchAlwaysGoToFirstPageOnReenter.IsOn;
SaveSettingsToFile();
}
private void ToggleSwitchAutoEnterAnnotationAfterKillHite_Toggled(object sender, RoutedEventArgs e) {
if (!isLoaded) return;
Settings.Automation.IsAutoEnterAnnotationAfterKillHite = ToggleSwitchAutoEnterAnnotationAfterKillHite.IsOn;
SaveSettingsToFile();
}
}
}
+4
View File
@@ -150,6 +150,10 @@ namespace Ink_Canvas {
if (arg.Contains("HiteAnnotation")) {
Dispatcher.Invoke(() => {
ShowNotification("“鸿合屏幕书写”已自动关闭");
if (Settings.Automation.IsAutoKillHiteAnnotation && Settings.Automation.IsAutoEnterAnnotationAfterKillHite) {
// 自动进入批注状态
EnterAnnotationMode();
}
});
}