summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristian Soffke <christian.soffke@gmail.com>2024-08-01 16:53:57 +0200
committerChristian Soffke <christian.soffke@gmail.com>2024-08-01 16:53:57 +0200
commita7f9557c9c0dfc36505e1f1b268418b1e5d68409 (patch)
treedd0d7c774ff8e45898789014b5c88b55b52ecb0e /apps
parentd471cd1e7b37b26752fb8796f39eae2aa7ce395a (diff)
downloadrockbox-a7f9557c9c0dfc36505e1f1b268418b1e5d68409.tar.gz
rockbox-a7f9557c9c0dfc36505e1f1b268418b1e5d68409.zip
list: Fix interrupted playback when scrolling l/r
Change-Id: I2d054a8cec4e680d5ff5ce62e7ea94c00b13ebf1
Diffstat (limited to 'apps')
-rw-r--r--apps/gui/list.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/gui/list.c b/apps/gui/list.c
index 256cf45c40..c119c4f193 100644
--- a/apps/gui/list.c
+++ b/apps/gui/list.c
@@ -700,6 +700,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, int *actionptr)
700 case ACTION_TREE_PGRIGHT: 700 case ACTION_TREE_PGRIGHT:
701 gui_synclist_scroll_right(lists); 701 gui_synclist_scroll_right(lists);
702 gui_synclist_draw(lists); 702 gui_synclist_draw(lists);
703 yield();
703 return true; 704 return true;
704 case ACTION_TREE_ROOT_INIT: 705 case ACTION_TREE_ROOT_INIT:
705 /* After this button press ACTION_TREE_PGLEFT is allowed 706 /* After this button press ACTION_TREE_PGLEFT is allowed
@@ -727,6 +728,7 @@ bool gui_synclist_do_button(struct gui_synclist * lists, int *actionptr)
727 gui_synclist_draw(lists); 728 gui_synclist_draw(lists);
728 pgleft_allow_cancel = false; /* stop ACTION_TREE_PAGE_LEFT 729 pgleft_allow_cancel = false; /* stop ACTION_TREE_PAGE_LEFT
729 skipping to root */ 730 skipping to root */
731 yield();
730 return true; 732 return true;
731/* for pgup / pgdown, we are obliged to have a different behaviour depending 733/* for pgup / pgdown, we are obliged to have a different behaviour depending
732 * on the screen for which the user pressed the key since for example, remote 734 * on the screen for which the user pressed the key since for example, remote