mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2024-11-29 17:45:38 +00:00
Fix last entry not showing (issue #90)
This commit is contained in:
parent
f4e2a14685
commit
3971fdc674
|
@ -117,7 +117,7 @@ void TextListComponent<T>::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