From c6352b355c9ab5e28579bc42bca92d7d923c45bb Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Thu, 17 Dec 2009 07:52:03 +0000 Subject: 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 --- apps/menu.c | 4 ++-- 1 file 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) -- cgit v1.2.3