Skip to content

Commit

Permalink
- fixed option menu positioning.
Browse files Browse the repository at this point in the history
Calculations are done in screen space, so the clean multiplier here was wrong.
  • Loading branch information
coelckers committed Oct 25, 2020
1 parent d0c5e34 commit f67d5ed
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion wadsrc/static/zscript/ui/menu/optionmenu.zs
Expand Up @@ -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;

Expand Down

0 comments on commit f67d5ed

Please sign in to comment.