- fixed option menu positioning.

Calculations are done in screen space, so the clean multiplier here was wrong.
This commit is contained in:
Christoph Oelckers 2020-10-25 16:42:03 +01:00
parent d0c5e347a9
commit f67d5edbbf

View file

@ -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;