1
0
Fork 0
forked from len0rd/rockbox

Fix the menus so lines scroll again

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13337 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-05-07 07:51:35 +00:00
parent 0e8a9e4eb7
commit 1228820ca9

View file

@ -433,19 +433,18 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected)
/* load the callback, and only reload it if menu changes */
get_menu_callback(menu, &menu_callback);
gui_synclist_draw(&lists);
while (!done)
{
gui_syncstatusbar_draw(&statusbars, true);
gui_synclist_draw(&lists);
action = get_action(CONTEXT_MAINMENU,HZ);
/* HZ so the status bar redraws corectly */
if (action == ACTION_NONE)
{
gui_syncstatusbar_draw(&statusbars, true);
continue;
}
gui_synclist_draw(&lists);
if (menu_callback)
{