(GLUI) Fix pagination rendering

This commit is contained in:
Higor Eurípedes 2015-06-22 18:00:05 -03:00
parent b2eaf554cf
commit 5ae64becbd

View File

@ -271,6 +271,9 @@ static void glui_render(void)
/ glui->line_height;
}
if (menu_entries_get_end() < height / glui->line_height)
menu_entries_set_start(0);
if (menu->scroll_y < 0)
menu->scroll_y = 0;