summaryrefslogtreecommitdiffstats
path: root/apps/menu.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-12-17 07:52:03 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-12-17 07:52:03 +0000
commitc6352b355c9ab5e28579bc42bca92d7d923c45bb (patch)
treede461aec0f0829279354dc99fe2e5810368f8ee6 /apps/menu.c
parent9ca03c74fb6b85c1a6a352b9961c9b11d629f542 (diff)
downloadrockbox-c6352b355c9ab5e28579bc42bca92d7d923c45bb.tar.gz
rockbox-c6352b355c9ab5e28579bc42bca92d7d923c45bb.tar.bz2
rockbox-c6352b355c9ab5e28579bc42bca92d7d923c45bb.zip
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
Diffstat (limited to 'apps/menu.c')
-rw-r--r--apps/menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c
index 7a4ca708dd..951238e177 100644
--- a/apps/menu.c
+++ b/apps/menu.c
@@ -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)