UI tweaks

This commit is contained in:
seerge
2023-04-18 17:50:10 +02:00
parent 89f096778d
commit 2c867eb960
3 changed files with 9 additions and 2 deletions

2
app/Fans.Designer.cs generated
View File

@@ -441,7 +441,7 @@ namespace GHelper
MaximizeBox = false;
MdiChildrenMinimizedAnchorBottom = false;
MinimizeBox = false;
MinimumSize = new Size(26, 1230);
MinimumSize = new Size(26, 1260);
Name = "Fans";
ShowIcon = false;
ShowInTaskbar = false;

View File

@@ -16,7 +16,7 @@
<PlatformTarget>x64</PlatformTarget>
<ProduceReferenceAssembly>False</ProduceReferenceAssembly>
<AllowUnsafeBlocks>True</AllowUnsafeBlocks>
<AssemblyVersion>0.53</AssemblyVersion>
<AssemblyVersion>0.54</AssemblyVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">

View File

@@ -758,6 +758,10 @@ namespace GHelper
if (maxFrequency > 60)
{
button120Hz.Text = maxFrequency.ToString() + "Hz" + (overdriveSetting ? " + OD" : "");
panelScreen.Visible = true;
} else if (maxFrequency > 0)
{
panelScreen.Visible = false;
}
if (miniled >= 0)
@@ -1228,6 +1232,9 @@ namespace GHelper
Program.wmi.DeviceSet(ASUSWmi.GPUEco, eco, "GPUEco");
if (eco == 0)
HardwareMonitor.RecreateGpuTemperatureProviderWithDelay();
Program.settingsForm.BeginInvoke(delegate
{
Thread.Sleep(500);