forked from len0rd/rockbox
Allow scroll_all lists to resume scrolling lines
rather than reset the scrolling lines in list_draw() when scroll_all = true allow the scroller to take care of stopping lines after the offset is known this pretty much entirely the debug menus Change-Id: I7069e0634d32b5ad8f92c294c5caf85373a7d480
This commit is contained in:
parent
cf4bf5439e
commit
12ea82d9e4
1 changed files with 2 additions and 1 deletions
|
@ -212,6 +212,7 @@ void list_draw(struct screen *display, struct gui_synclist *list)
|
|||
|
||||
struct viewport * last_vp = display->set_viewport(parent);
|
||||
display->clear_viewport();
|
||||
if (!list->scroll_all)
|
||||
display->scroll_stop_viewport(list_text_vp);
|
||||
*list_text_vp = *parent;
|
||||
if ((show_title = draw_title(display, list, callback_draw_item)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue