Ally UI Fix

This commit is contained in:
Serge
2024-01-30 15:24:49 +01:00
parent b2a64bf012
commit 1478f80c1a
2 changed files with 2 additions and 2 deletions

View File

@@ -379,7 +379,7 @@ public static class AppConfig
public static bool IsStrix() public static bool IsStrix()
{ {
return ContainsModel("Strix") || ContainsModel("Scar"); return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G");
} }
public static bool IsStrixLimitedRGB() public static bool IsStrixLimitedRGB()

View File

@@ -280,7 +280,7 @@ namespace GHelper
settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width; settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width;
if (AppConfig.IsAlly()) 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 else
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height; settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;