From 3f686d7034a1c18e1258b9433e5a69b8e95bc3cf Mon Sep 17 00:00:00 2001 From: Jonathan Gordon Date: Sun, 9 Mar 2008 02:00:31 +0000 Subject: fix recorder, buttonbar caused list problems git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16584 a1c6a512-1295-4272-9138-f99709370657 --- apps/gui/list.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'apps/gui/list.c') diff --git a/apps/gui/list.c b/apps/gui/list.c index 9aafece04e..9de705dcbc 100644 --- a/apps/gui/list.c +++ b/apps/gui/list.c @@ -197,6 +197,13 @@ void gui_synclist_draw(struct gui_synclist *gui_list) FOR_NB_SCREENS(i) { last_list_displayed = NULL; + /* quick hack to fix the recorder overwriting the button bar.. + TODO: fix properly */ + gui_list->parent[i]->height = screens[i].height - gui_list->parent[i]->y +#ifdef HAS_BUTTONBAR + - (screens[i].has_buttonbar?BUTTONBAR_HEIGHT:0) +#endif + ; list_draw(&screens[i], gui_list->parent[i], gui_list); } } -- cgit v1.2.3