diff options
author | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-17 07:52:03 +0000 |
---|---|---|
committer | Jonathan Gordon <rockbox@jdgordon.info> | 2009-12-17 07:52:03 +0000 |
commit | c6352b355c9ab5e28579bc42bca92d7d923c45bb (patch) | |
tree | de461aec0f0829279354dc99fe2e5810368f8ee6 /apps/menu.c | |
parent | 9ca03c74fb6b85c1a6a352b9961c9b11d629f542 (diff) | |
download | rockbox-c6352b355c9ab5e28579bc42bca92d7d923c45bb.tar.gz 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.c | 4 |
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, | |||
515 | /* might be leaving list, so stop scrolling */ | 515 | /* might be leaving list, so stop scrolling */ |
516 | FOR_NB_SCREENS(i) | 516 | FOR_NB_SCREENS(i) |
517 | { | 517 | { |
518 | screens[i].stop_scroll(); | 518 | screens[i].scroll_stop(&vps[i]); |
519 | } | 519 | } |
520 | if (menu_callback) | 520 | if (menu_callback) |
521 | menu_callback(ACTION_EXIT_MENUITEM, menu); | 521 | menu_callback(ACTION_EXIT_MENUITEM, menu); |
@@ -548,7 +548,7 @@ int do_menu(const struct menu_item_ex *start_menu, int *start_selected, | |||
548 | /* entering an item that may not be a list, so stop scrolling */ | 548 | /* entering an item that may not be a list, so stop scrolling */ |
549 | FOR_NB_SCREENS(i) | 549 | FOR_NB_SCREENS(i) |
550 | { | 550 | { |
551 | screens[i].stop_scroll(); | 551 | screens[i].scroll_stop(&vps[i]); |
552 | } | 552 | } |
553 | #ifdef HAVE_BUTTONBAR | 553 | #ifdef HAVE_BUTTONBAR |
554 | if (!hide_bars) | 554 | if (!hide_bars) |