Skip to content

Commit

Permalink
UI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Dec 18, 2023
1 parent 2919097 commit d179fe6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/Fans.cs
Original file line number Diff line number Diff line change
Expand Up @@ -794,7 +794,7 @@ public void InitPower(bool changed = false)
bool modeB0 = Program.acpi.IsAllAmdPPT();
bool modeC1 = Program.acpi.DeviceGet(AsusACPI.PPT_APUC1) >= 0;

panelA0.Visible = panelA3.Visible = modeA0;
panelA0.Visible = modeA0;
panelB0.Visible = modeB0;

panelApplyPower.Visible = panelTitleCPU.Visible = modeA0 || modeB0 || modeC1;
Expand All @@ -810,13 +810,15 @@ public void InitPower(bool changed = false)
}
else
{
panelA3.Visible = modeA3;

if (RyzenControl.IsAMD())
{
labelLeftA0.Text = "CPU Sustained (SPL)";
labelLeftA3.Text = "CPU Slow (sPPT)";
labelLeftC1.Text = "CPU Fast (fPPT)";
panelC1.Visible = modeC1;
panelA3.Visible = modeA3;

}
else
{
Expand Down

0 comments on commit d179fe6

Please sign in to comment.