Fit hud scaling to 16:9 minimum. Ultrawide be damned.
This commit is contained in:
parent
e81dbdd142
commit
473e7ad5e8
9 changed files with 9 additions and 35 deletions
|
|
@ -134,7 +134,7 @@ Class SWWMCreditsMenu : GenericMenu
|
|||
|
||||
void UpdateSize()
|
||||
{
|
||||
hs = max(1.,min(floor(Screen.GetWidth()/640),floor(Screen.GetHeight()/266)));
|
||||
hs = max(min(floor(Screen.GetWidth()/640.),floor(Screen.GetHeight()/360.)),1.);
|
||||
ss = (Screen.GetWidth(),Screen.GetHeight())/hs;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue