Fix last entry not showing (issue #90)

This commit is contained in:
Aloshi 2013-06-29 20:57:14 -05:00
parent f4e2a14685
commit 3971fdc674

View file

@ -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)
{ {