From 5d231ea172528f61389fa76617c23c77ffdffb12 Mon Sep 17 00:00:00 2001 From: IceStormNG Date: Fri, 1 Mar 2024 18:54:40 +0100 Subject: [PATCH] Fix min slider affecting the max slider the wrong way --- app/AutoTDP/AutoTDPGameProfileUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/AutoTDP/AutoTDPGameProfileUI.cs b/app/AutoTDP/AutoTDPGameProfileUI.cs index 95f96677..9f436963 100644 --- a/app/AutoTDP/AutoTDPGameProfileUI.cs +++ b/app/AutoTDP/AutoTDPGameProfileUI.cs @@ -57,7 +57,7 @@ namespace GHelper.AutoTDP private void SliderMinTDP_ValueChanged(object? sender, EventArgs e) { labelMinTDP.Text = sliderMinTDP.Value + "W"; - if (sliderMaxTDP.Value > sliderMinTDP.Value) + if (sliderMaxTDP.Value < sliderMinTDP.Value) { sliderMaxTDP.Value = sliderMinTDP.Value; }