mirror of
https://github.com/jkocon/g-helper.git
synced 2026-02-23 13:00:52 +01:00
Hide Visual modes when screen is turned off
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user