Hide Visual modes when screen is turned off

This commit is contained in:
Serge
2024-03-26 22:48:48 +01:00
parent 6e9efb73a3
commit 88756092e4
3 changed files with 39 additions and 2 deletions

View File

@@ -1203,8 +1203,21 @@ namespace GHelper
buttonMiniled.Visible = false;
}
tableVisual.Visible = !hdr;
labelVisual.Visible = hdr;
if (!screenEnabled)
{
labelVisual.Text = Properties.Strings.VisualModesScreen;
labelVisual.Visible = true;
tableVisual.Visible = false;
} else if (hdr)
{
labelVisual.Text = Properties.Strings.VisualModesHDR;
labelVisual.Visible = true;
tableVisual.Visible = false;
} else
{
labelVisual.Visible = false;
tableVisual.Visible = true;
}
}