mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
Amend previous commit
git-svn-id: https://svn.eduke32.com/eduke32@6687 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
63d93e8d9f
commit
7a9684e350
1 changed files with 1 additions and 1 deletions
|
@ -4326,7 +4326,7 @@ static void Menu_RunScrollbar(Menu_t *cm, MenuMenuFormat_t const * const format,
|
|||
if (ud.menu_scrollbartilenum >= 0)
|
||||
{
|
||||
scrollregionstart += tilesiz[scrollTileTop].y*ud.menu_scrollbarz;
|
||||
scrollregionend += tilesiz[scrollTileBottom].y*ud.menu_scrollbarz;
|
||||
scrollregionend -= tilesiz[scrollTileBottom].y*ud.menu_scrollbarz;
|
||||
}
|
||||
const int32_t scrollregionheight = scrollregionend - scrollregionstart - (tilesiz[scrollTileCursor].y*ud.menu_scrollcursorz);
|
||||
const int32_t scrollPosMax = totalextent - klabs(format->bottomcutoff);
|
||||
|
|
Loading…
Reference in a new issue