Skip to content

Commit 1478f80

Browse files
committed
Ally UI Fix
1 parent b2a64bf commit 1478f80

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/AppConfig.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -379,7 +379,7 @@ public static bool IsSingleColor()
379379

380380
public static bool IsStrix()
381381
{
382-
return ContainsModel("Strix") || ContainsModel("Scar");
382+
return ContainsModel("Strix") || ContainsModel("Scar") || ContainsModel("G703G");
383383
}
384384

385385
public static bool IsStrixLimitedRGB()

app/Program.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ public static void SettingsToggle(bool checkForFocus = true, bool trayClick = fa
280280
settingsForm.Left = Screen.FromControl(settingsForm).WorkingArea.Width - 10 - settingsForm.Width;
281281

282282
if (AppConfig.IsAlly())
283-
settingsForm.Top = Screen.FromControl(settingsForm).Bounds.Height - 110 - settingsForm.Height;
283+
settingsForm.Top = Math.Max(10, Screen.FromControl(settingsForm).Bounds.Height - 110 - settingsForm.Height);
284284
else
285285
settingsForm.Top = Screen.FromControl(settingsForm).WorkingArea.Height - 10 - settingsForm.Height;
286286

0 commit comments

Comments
 (0)