diff options
author | Christian Soffke <christian.soffke@gmail.com> | 2021-12-20 20:12:03 +0100 |
---|---|---|
committer | William Wilgus <me.theuser@yahoo.com> | 2022-02-06 11:20:34 -0500 |
commit | 8d453ae9c3beef82bd61401af6216f74a400cbd0 (patch) | |
tree | 872bdc0769be213eceec8bb8548cf522ebb6629b /apps/onplay.c | |
parent | 04cbb3c7e4a79a6c06ad3cd585b8f0a54a8d0714 (diff) | |
download | rockbox-8d453ae9c3beef82bd61401af6216f74a400cbd0.tar.gz rockbox-8d453ae9c3beef82bd61401af6216f74a400cbd0.zip |
Fix glitches with custom list title viewports
Elements were not being drawn correctly or
title text appeared delayed in several places
when using themes with a custom viewport
for list titles.
E.g.:
- after deleting a shortcut
- when returning from a warning screen in
Playlist Viewer
- returning to some Settings screens
- in "Playing time" screen
Change-Id: I8ab07a31d4b6f290e089ecd7857f43ec195a06e0
Diffstat (limited to 'apps/onplay.c')
-rw-r--r-- | apps/onplay.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/onplay.c b/apps/onplay.c index 61ef8acad5..ee183450fa 100644 --- a/apps/onplay.c +++ b/apps/onplay.c | |||
@@ -425,6 +425,7 @@ static bool playing_time(void) | |||
425 | if (global_settings.talk_menu) | 425 | if (global_settings.talk_menu) |
426 | gui_synclist_set_voice_callback(&pt_lists, playing_time_speak_info); | 426 | gui_synclist_set_voice_callback(&pt_lists, playing_time_speak_info); |
427 | gui_synclist_set_nb_items(&pt_lists, 8); | 427 | gui_synclist_set_nb_items(&pt_lists, 8); |
428 | gui_synclist_set_title(&pt_lists, str(LANG_PLAYING_TIME), NOICON); | ||
428 | gui_synclist_draw(&pt_lists); | 429 | gui_synclist_draw(&pt_lists); |
429 | gui_synclist_speak_item(&pt_lists); | 430 | gui_synclist_speak_item(&pt_lists); |
430 | while (true) { | 431 | while (true) { |