- fixed option menu positioning.

This commit is contained in:
Christoph Oelckers 2020-01-27 22:29:00 +01:00
parent ab5bc0e435
commit 67a0954c32

View file

@ -76,7 +76,7 @@ void DrawOptionText(int x, int y, int color, const char *text, bool grayed)
int DOptionMenu::GetPosition() int DOptionMenu::GetPosition()
{ {
return mDesc->mPosition * screen->GetHeight() / 1080; // y position uses a 1920x1080 screen as reference but has to adjust to scaled 320x200 content. return mDesc->mPosition * screen->GetHeight() * 2 / CleanYfac_1 / 1080; // y position uses a 1920x1080 screen as reference but has to adjust to scaled 320x200 content.
} }
//============================================================================= //=============================================================================