mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-11 16:37:45 -04:00
simplelist: stop scrolling when leaving
Fixes (at least) Shortcuts menu not stopping a scrolling line after leaving menu for a plugin in some situations. Change-Id: I90b4cc71a63e557565d028aae27db082e2e1813f
This commit is contained in:
parent
b04fd3efed
commit
dbec04dc81
1 changed files with 3 additions and 0 deletions
|
|
@ -971,11 +971,14 @@ bool simplelist_show_list(struct simplelist_info *info)
|
|||
}
|
||||
else if(default_event_handler(action) == SYS_USB_CONNECTED)
|
||||
{
|
||||
gui_synclist_scroll_stop(&lists);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
talk_shutup();
|
||||
|
||||
gui_synclist_scroll_stop(&lists);
|
||||
|
||||
#ifdef HAVE_LCD_COLOR
|
||||
if (info->selection_color)
|
||||
gui_synclist_set_sel_color(&lists, NULL);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue