From 84bf767e479827acffd5fc699520ff6b5d2391ef Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Sun, 10 Mar 2024 21:33:43 +0100 Subject: [PATCH] UI Tweaks --- app/Display/VisualControl.cs | 2 +- app/Settings.cs | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Display/VisualControl.cs b/app/Display/VisualControl.cs index f29730c4e..400d18cea 100644 --- a/app/Display/VisualControl.cs +++ b/app/Display/VisualControl.cs @@ -37,7 +37,7 @@ public static class VisualControl private static bool _init = true; private static string? _splendidPath = null; - private static System.Timers.Timer brightnessTimer = new System.Timers.Timer(100); + private static System.Timers.Timer brightnessTimer = new System.Timers.Timer(200); public const int DefaultColorTemp = 50; static VisualControl() diff --git a/app/Settings.cs b/app/Settings.cs index d4f9aa0d1..91cec26f2 100644 --- a/app/Settings.cs +++ b/app/Settings.cs @@ -274,6 +274,7 @@ public void InitVisual() sliderGamma.Visible = true; VisualiseBrightness(); sliderGamma.ValueChanged += SliderGamma_ValueChanged; + sliderGamma.MouseUp += SliderGamma_ValueChanged; } if (!dimming) labelGammaTitle.Text = Properties.Strings.ViualMode;