From e07c2f58baa41ac0bc53f338c1e5f88478c0cd1b Mon Sep 17 00:00:00 2001 From: Michael Date: Sun, 6 Aug 2017 23:07:05 -0400 Subject: Scale the screen so it doesn't look shit in 1440p --- ShiftOS.Frontend/MainMenu.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ShiftOS.Frontend/MainMenu.cs') diff --git a/ShiftOS.Frontend/MainMenu.cs b/ShiftOS.Frontend/MainMenu.cs index a6d987f..db6ece9 100644 --- a/ShiftOS.Frontend/MainMenu.cs +++ b/ShiftOS.Frontend/MainMenu.cs @@ -154,7 +154,7 @@ namespace ShiftOS.Frontend _optionsSave.Click += () => { - if (UIManager.Viewport != _screenResolutions[_resIndex]) + if (UIManager.ScreenSize != _screenResolutions[_resIndex]) { Engine.Infobox.PromptYesNo("Confirm sentience edit", "Performing this operation requires your sentience to be re-established which may cause you to go unconscious. Do you wish to continue?", (sleep) => @@ -181,7 +181,7 @@ namespace ShiftOS.Frontend foreach(var mode in GraphicsAdapter.DefaultAdapter.SupportedDisplayModes.OrderBy(x=>x.Width * x.Height)) { _screenResolutions.Add(new System.Drawing.Size(mode.Width, mode.Height)); - if (UIManager.Viewport == _screenResolutions.Last()) + if (UIManager.ScreenSize == _screenResolutions.Last()) _resIndex = _screenResolutions.Count - 1; } _fullscreen.Y = _sandbox.Y; -- cgit v1.2.3