Skip Visual Mode command if HDR is ON

This commit is contained in:
Serge
2024-03-26 23:18:53 +01:00
parent 4513c9ee9c
commit 69eb0c289f
2 changed files with 4 additions and 2 deletions

View File

@@ -129,6 +129,8 @@ namespace GHelper.Display
if (mode == SplendidCommand.None) return;
if (mode == SplendidCommand.Default && init) return; // Skip default setting on init
if (ScreenCCD.GetHDRStatus(true)) return;
if (whiteBalance != DefaultColorTemp && !init) ProcessHelper.RunAsAdmin();
int balance = mode == SplendidCommand.Eyecare ? 2 : whiteBalance;