@@ -122,7 +122,7 @@ namespace Ink_Canvas.Windows.SettingsViews
|
||||
if (toggleSwitch == null) return;
|
||||
toggleSwitch.Background = isOn
|
||||
? new SolidColorBrush(Color.FromRgb(53, 132, 228))
|
||||
: ThemeHelper.GetButtonBackgroundBrush();
|
||||
: new SolidColorBrush(Color.FromRgb(225, 225, 225));
|
||||
var innerBorder = toggleSwitch.Child as Border;
|
||||
if (innerBorder != null)
|
||||
{
|
||||
@@ -297,8 +297,8 @@ namespace Ink_Canvas.Windows.SettingsViews
|
||||
MainWindowSettingsHelper.UpdateSettingDirectly(() =>
|
||||
{
|
||||
if (MainWindow.Settings.Canvas != null)
|
||||
{
|
||||
MainWindow.Settings.Canvas.PalmEraserSensitivity = sensitivity;
|
||||
{
|
||||
MainWindow.Settings.Canvas.PalmEraserSensitivity = sensitivity;
|
||||
}
|
||||
}, "ComboBoxPalmEraserSensitivity");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user