- fixed option menu positioning.

This commit is contained in:
Christoph Oelckers 2020-01-27 22:29:00 +01:00
parent ab5bc0e435
commit 67a0954c32
1 changed files with 1 additions and 1 deletions

View File

@ -76,7 +76,7 @@ void DrawOptionText(int x, int y, int color, const char *text, bool grayed)
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.
}
//=============================================================================