Merge pull request #1846 from heuripedes/master

(GLUI) Fix pagination rendering
This commit is contained in:
Twinaphex 2015-06-22 23:03:02 +02:00
commit bebe22a1b6

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;