diff --git a/MOD.Scripts.UI/MODMenuResolution.cs b/MOD.Scripts.UI/MODMenuResolution.cs index cc7e4a05..9243113b 100644 --- a/MOD.Scripts.UI/MODMenuResolution.cs +++ b/MOD.Scripts.UI/MODMenuResolution.cs @@ -24,6 +24,16 @@ public void OnBeforeMenuVisible() public void OnGUI() { + Label($"Resolution Settings (Current: {Screen.width}x{Screen.height})"); + + // I noticed a bug on Linux where going Windowed sometimes doesn't let you change window size, + // probably due res settings Playerprefs that Unity reads on startup. + // Restarting the game after changing settings fixes this. + if(Application.platform == RuntimePlatform.LinuxPlayer) + { + Label($"NOTE: You may need to restart the game after changing to Windowed!"); + } + Label($"Resolution Settings (Current: {Screen.width}x{Screen.height})"); { GUILayout.BeginHorizontal();