mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-09 21:22:39 -05:00
list: Fix interrupted playback when scrolling l/r
Change-Id: I2d054a8cec4e680d5ff5ce62e7ea94c00b13ebf1
This commit is contained in:
parent
d471cd1e7b
commit
a7f9557c9c
1 changed files with 2 additions and 0 deletions
|
|
@ -700,6 +700,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, int *actionptr)
|
||||||
case ACTION_TREE_PGRIGHT:
|
case ACTION_TREE_PGRIGHT:
|
||||||
gui_synclist_scroll_right(lists);
|
gui_synclist_scroll_right(lists);
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
|
yield();
|
||||||
return true;
|
return true;
|
||||||
case ACTION_TREE_ROOT_INIT:
|
case ACTION_TREE_ROOT_INIT:
|
||||||
/* After this button press ACTION_TREE_PGLEFT is allowed
|
/* After this button press ACTION_TREE_PGLEFT is allowed
|
||||||
|
|
@ -727,6 +728,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, int *actionptr)
|
||||||
gui_synclist_draw(lists);
|
gui_synclist_draw(lists);
|
||||||
pgleft_allow_cancel = false; /* stop ACTION_TREE_PAGE_LEFT
|
pgleft_allow_cancel = false; /* stop ACTION_TREE_PAGE_LEFT
|
||||||
skipping to root */
|
skipping to root */
|
||||||
|
yield();
|
||||||
return true;
|
return true;
|
||||||
/* for pgup / pgdown, we are obliged to have a different behaviour depending
|
/* for pgup / pgdown, we are obliged to have a different behaviour depending
|
||||||
* on the screen for which the user pressed the key since for example, remote
|
* on the screen for which the user pressed the key since for example, remote
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue