1
0
Fork 0
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:
William Wilgus 2024-12-17 01:07:26 -05:00 committed by William Wilgus
parent cf4bf5439e
commit 12ea82d9e4

View file

@ -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)))