Uncap Demolitionist Menu height (for 4:3 and 5:4).
This commit is contained in:
parent
b59e1ba285
commit
04b5767a90
2 changed files with 3 additions and 6 deletions
|
|
@ -1,3 +1,3 @@
|
|||
[default]
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r195 \cu(Thu 24 Mar 18:08:38 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2pre r195 \cu(2022-03-24 18:08:38)\c-";
|
||||
SWWM_MODVER="\cyDEMOLITIONIST \cw1.2pre r196 \cu(Thu 24 Mar 18:37:35 CET 2022)\c-";
|
||||
SWWM_SHORTVER="\cw1.2pre r196 \cu(2022-03-24 18:37:35)\c-";
|
||||
|
|
|
|||
|
|
@ -161,10 +161,7 @@ Class DemolitionistMenu : GenericMenu
|
|||
ss = (Screen.GetWidth(),Screen.GetHeight())/hs;
|
||||
ws.x = 640.;
|
||||
double th = 640*(ss.y/ss.x);
|
||||
ws.y = clamp(round(th),266.,400.);
|
||||
/*if ( th >= 400. ) ws.y = 400.;
|
||||
else if ( th >= 360. ) ws.y = 360.;
|
||||
else ws.y = 266.;*/
|
||||
ws.y = round(th);
|
||||
origin = (int(ss.x-ws.x)/2,int(ss.y-ws.y)/2);
|
||||
MenuSound("menu/demoopen");
|
||||
[ikey[0], ikey[1]] = Bindings.GetKeysForCommand("event swwmdemomenu");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue