mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-18 04:45:39 +00:00
Fixed game list rendering one entry short.
This commit is contained in:
parent
3d17f30f5b
commit
016df5864f
|
@ -41,7 +41,7 @@ void GuiList<listType>::onRender()
|
||||||
|
|
||||||
//number of entries that can fit on the screen simultaniously
|
//number of entries that can fit on the screen simultaniously
|
||||||
int screenCount = (Renderer::getScreenHeight() - cutoff) / entrySize;
|
int screenCount = (Renderer::getScreenHeight() - cutoff) / entrySize;
|
||||||
screenCount -= 1;
|
//screenCount -= 1;
|
||||||
|
|
||||||
if((int)mRowVector.size() >= screenCount)
|
if((int)mRowVector.size() >= screenCount)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue