fix FS#9743: plugins using rb->do_menu() were dropped 8 pixels..
please oh please let this be the last fix :p git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19640 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
498e95b986
commit
7555f34cb3
1 changed files with 1 additions and 7 deletions
|
@ -72,14 +72,8 @@ void list_init_viewports(struct gui_synclist *list)
|
|||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
vp = &parent[i];
|
||||
if (!list)
|
||||
if (!list || list->parent[i] == vp)
|
||||
viewport_set_defaults(vp, i);
|
||||
else if (list->parent[i] == vp)
|
||||
{
|
||||
viewport_set_defaults(vp, i);
|
||||
list->parent[i]->y = gui_statusbar_height();
|
||||
list->parent[i]->height = screens[i].lcdheight - list->parent[i]->y;
|
||||
}
|
||||
}
|
||||
#ifdef HAVE_BUTTONBAR
|
||||
if (list && (list->parent[0] == &parent[0]) && global_settings.buttonbar)
|
||||
|
|
Loading…
Reference in a new issue