Skip Visual Modes if laptop screen is disabled

This commit is contained in:
Serge
2024-03-26 23:22:06 +01:00
parent 69eb0c289f
commit 46adb6bc7f
2 changed files with 2 additions and 3 deletions

View File

@@ -130,6 +130,7 @@ namespace GHelper.Display
if (mode == SplendidCommand.Default && init) return; // Skip default setting on init
if (ScreenCCD.GetHDRStatus(true)) return;
if (ScreenNative.GetRefreshRate(ScreenNative.FindLaptopScreen(true)) < 0) return;
if (whiteBalance != DefaultColorTemp && !init) ProcessHelper.RunAsAdmin();