add:实时笔锋及墨迹预测

This commit is contained in:
2026-03-28 17:06:16 +08:00
parent de3f5d16a2
commit 56a65af9a7
6 changed files with 31 additions and 81 deletions
@@ -955,14 +955,10 @@ namespace Ink_Canvas
if (leadMode < 0 || leadMode > 2) leadMode = 0;
Settings.Canvas.InkStrokePredictionLeadMode = leadMode;
if (ToggleSwitchInkStrokePredictionPanel != null)
ToggleSwitchInkStrokePredictionPanel.IsOn = Settings.Canvas.EnableInkStrokePrediction;
if (BoardToggleSwitchInkStrokePredictionPanel != null)
BoardToggleSwitchInkStrokePredictionPanel.IsOn = Settings.Canvas.EnableInkStrokePrediction;
if (ComboBoxInkStrokePredictionLead != null)
ComboBoxInkStrokePredictionLead.SelectedIndex = leadMode;
if (BoardComboBoxInkStrokePredictionLead != null)
BoardComboBoxInkStrokePredictionLead.SelectedIndex = leadMode;
if (ToggleSwitchInkStrokePredictionSettings != null)
ToggleSwitchInkStrokePredictionSettings.IsOn = Settings.Canvas.EnableInkStrokePrediction;
if (ComboBoxInkStrokePredictionLeadSettings != null)
ComboBoxInkStrokePredictionLeadSettings.SelectedIndex = leadMode;
SyncInkStrokePredictionLeadComboVisibility();
}
else