only stop scrolling in the menu's viewport not the whole display (Fixes scrolling lines in sbs's being stopped when moving around menus)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@24038 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2009-12-17 07:52:03 +00:00
parent 9ca03c74fb
commit c6352b355c

View file

@ -515,7 +515,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
/* might be leaving list, so stop scrolling */
FOR_NB_SCREENS(i)
{
screens[i].stop_scroll();
screens[i].scroll_stop(&vps[i]);
}
if (menu_callback)
menu_callback(ACTION_EXIT_MENUITEM, menu);
@ -548,7 +548,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected,
/* entering an item that may not be a list, so stop scrolling */
FOR_NB_SCREENS(i)
{
screens[i].stop_scroll();
screens[i].scroll_stop(&vps[i]);
}
#ifdef HAVE_BUTTONBAR
if (!hide_bars)