From 1478f80c1a3f83af14575750d1478e626f630807 Mon Sep 17 00:00:00 2001 From: Serge <5920850+seerge@users.noreply.github.com> Date: Tue, 30 Jan 2024 15:24:49 +0100 Subject: [PATCH] Ally UI Fix --- app/AppConfig.cs | 2 +- app/Program.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/AppConfig.cs b/app/AppConfig.cs index 1456c10ac..9c68b277c 100644 --- a/app/AppConfig.cs +++ b/app/AppConfig.cs @@ -379,7 +379,7 @@ public static bool IsSingleColor() public static bool IsStrix() { - return ContainsModel("Strix") || ContainsModel("Scar"); + return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G"); } public static bool IsStrixLimitedRGB() diff --git a/app/Program.cs b/app/Program.cs index 4cee9ad4a..d71bb0bd9 100644 --- a/app/Program.cs +++ b/app/Program.cs @@ -280,7 +280,7 @@ public static void SettingsToggle(bool checkForFocus = true, bool trayClick = fa settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width; if (AppConfig.IsAlly()) - settingsForm.Top = Screen.FromControl(settingsForm).Bounds.Height - 110 - settingsForm.Height; + settingsForm.Top = Math.Max(10, Screen.FromControl(settingsForm).Bounds.Height - 110 - settingsForm.Height); else settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;