From a7f9557c9c0dfc36505e1f1b268418b1e5d68409 Mon Sep 17 00:00:00 2001 From: Christian Soffke Date: Thu, 1 Aug 2024 16:53:57 +0200 Subject: [PATCH] list: Fix interrupted playback when scrolling l/r Change-Id: I2d054a8cec4e680d5ff5ce62e7ea94c00b13ebf1 --- apps/gui/list.c | 2 ++ 1 file changed, 2 insertions(+) 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) case ACTION_TREE_PGRIGHT: gui_synclist_scroll_right(lists); gui_synclist_draw(lists); + yield(); return true; case ACTION_TREE_ROOT_INIT: /* 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); pgleft_allow_cancel = false; /* stop ACTION_TREE_PAGE_LEFT skipping to root */ + yield(); return true; /* 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