change size and position of controls window

This commit is contained in:
in0finite 2019-07-09 20:55:22 +02:00
parent 841f620fa9
commit 8a0bbb1319
2 changed files with 1 additions and 3 deletions

View file

@ -21,7 +21,7 @@ namespace SanAndreasUnity.UI {
this.RegisterButtonInPauseMenu ();
// adjust rect
this.windowRect = new Rect(Screen.width / 2 - 150, 30, 350, 400);
this.windowRect = Utilities.GUIUtils.GetCenteredRect(new Vector2(400, 450));
}

View file

@ -20,8 +20,6 @@
- Update controls window
- Increase button height of file browser
- Highlight buttons of opened windows in pause menu
- Fps counter should be time-scale independant