mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Resolution change fix attempt
This commit is contained in:
@@ -202,8 +202,8 @@ namespace GHelper
|
|||||||
case 88: // Plugged
|
case 88: // Plugged
|
||||||
settingsForm.BeginInvoke(delegate
|
settingsForm.BeginInvoke(delegate
|
||||||
{
|
{
|
||||||
settingsForm.AutoGPUMode(1);
|
|
||||||
settingsForm.AutoScreen(1);
|
settingsForm.AutoScreen(1);
|
||||||
|
settingsForm.AutoGPUMode(1);
|
||||||
});
|
});
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
|||||||
@@ -345,7 +345,7 @@ namespace GHelper
|
|||||||
if (HardwareMonitor.cpuTemp > 0)
|
if (HardwareMonitor.cpuTemp > 0)
|
||||||
cpuTemp = ": " + Math.Round((decimal)HardwareMonitor.cpuTemp).ToString() + "°C - ";
|
cpuTemp = ": " + Math.Round((decimal)HardwareMonitor.cpuTemp).ToString() + "°C - ";
|
||||||
|
|
||||||
if (HardwareMonitor.batteryDischarge > 0)
|
if (HardwareMonitor.batteryDischarge > 1)
|
||||||
battery = "Discharging: " + Math.Round((decimal)HardwareMonitor.batteryDischarge, 1).ToString() + "W";
|
battery = "Discharging: " + Math.Round((decimal)HardwareMonitor.batteryDischarge, 1).ToString() + "W";
|
||||||
|
|
||||||
Program.settingsForm.BeginInvoke(delegate
|
Program.settingsForm.BeginInvoke(delegate
|
||||||
|
|||||||
Reference in New Issue
Block a user