diff options
| author | Michael <[email protected]> | 2017-08-06 23:07:05 -0400 |
|---|---|---|
| committer | Michael <[email protected]> | 2017-08-06 23:07:05 -0400 |
| commit | e07c2f58baa41ac0bc53f338c1e5f88478c0cd1b (patch) | |
| tree | 7f0e9aea60337be25120dd4286c2bd30cb2485e7 /ShiftOS.Frontend/MainMenu.cs | |
| parent | 0af9c840293bff1a0ad699fdd9f3a549294feef9 (diff) | |
| download | shiftos_thereturn-e07c2f58baa41ac0bc53f338c1e5f88478c0cd1b.tar.gz shiftos_thereturn-e07c2f58baa41ac0bc53f338c1e5f88478c0cd1b.tar.bz2 shiftos_thereturn-e07c2f58baa41ac0bc53f338c1e5f88478c0cd1b.zip | |
Scale the screen so it doesn't look shit in 1440p
Diffstat (limited to 'ShiftOS.Frontend/MainMenu.cs')
| -rw-r--r-- | ShiftOS.Frontend/MainMenu.cs | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
