Skip to content

Commit

Permalink
Ally UI Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seerge committed Jan 30, 2024
1 parent b2a64bf commit 1478f80
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/AppConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down
2 changes: 1 addition & 1 deletion app/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 1478f80

Please sign in to comment.