mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 13:11:33 +00:00
- fixed option menu positioning.
Calculations are done in screen space, so the clean multiplier here was wrong.
This commit is contained in:
parent
d0c5e347a9
commit
f67d5edbbf
1 changed files with 0 additions and 1 deletions
|
@ -241,7 +241,6 @@ class OptionMenu : Menu
|
|||
{
|
||||
y = DrawCaption(mDesc.mTitle, -y, false);
|
||||
}
|
||||
y *= CleanYfac_1;
|
||||
int rowheight = OptionMenuSettings.mLinespacing * CleanYfac_1;
|
||||
int maxitems = (screen.GetHeight() - rowheight - y) / rowheight + 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue