This commit is contained in:
PrefacedCorg
2026-04-26 09:12:26 +08:00
parent 24cbaf69ea
commit c4657ebb86
17 changed files with 2149 additions and 3748 deletions
@@ -70,6 +70,14 @@ namespace Ink_Canvas.Windows.SettingsViews.Pages
if (!_isLoaded) return;
SettingsManager.Settings.InkToShape.IsInkToShapeEnabled = CardEnableInkToShape.IsOn;
SettingsManager.SaveSettingsToFile();
var mw = Application.Current.MainWindow as MainWindow;
if (mw != null)
{
if (mw.FloatingBarToggleSwitchEnableInkToShape != null)
mw.FloatingBarToggleSwitchEnableInkToShape.IsOn = CardEnableInkToShape.IsOn;
if (mw.BoardToggleSwitchEnableInkToShape != null)
mw.BoardToggleSwitchEnableInkToShape.IsOn = CardEnableInkToShape.IsOn;
}
}
private void ComboBoxShapeRecognitionEngine_SelectionChanged(object sender, SelectionChangedEventArgs e)