Skip to content

Commit

Permalink
Update WindowManager.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
Coloryr committed Aug 5, 2024
1 parent c1ae822 commit 8bcbec0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ColorMC.Gui/Manager/WindowManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ public static void Init()
AllWindow.Model.HeadDisplay = false;
AllWindow.Opened();
}
else if (SystemInfo.Os == OsType.Linux)
else if (SystemInfo.Os == OsType.Linux ||
(SystemInfo.Os == OsType.Windows && !SystemInfo.IsWin11))
{
var win = new SingleBorderWindow();
AllWindow = win.Win;
Expand Down

0 comments on commit 8bcbec0

Please sign in to comment.