mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Hide unsupported power sliders https://github.com/seerge/g-helper/discussions/1747
This commit is contained in:
@@ -793,7 +793,7 @@ namespace GHelper
|
|||||||
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
bool modeB0 = Program.acpi.IsAllAmdPPT();
|
||||||
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;
|
||||||
|
|
||||||
panelA0.Visible = modeA0;
|
panelA0.Visible = panelA3.Visible = modeA0;
|
||||||
panelB0.Visible = modeB0;
|
panelB0.Visible = modeB0;
|
||||||
|
|
||||||
panelApplyPower.Visible = panelTitleCPU.Visible = modeA0 || modeB0 || modeC1;
|
panelApplyPower.Visible = panelTitleCPU.Visible = modeA0 || modeB0 || modeC1;
|
||||||
|
|||||||
Reference in New Issue
Block a user