mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
correct bottom viewport height calculation in the recording screen
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21961 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
99f5299996
commit
974a48004a
1 changed files with 2 additions and 2 deletions
|
|
@ -1116,8 +1116,8 @@ bool recording_screen(bool no_source)
|
||||||
v->height = (font_get(v->font)->height)*(compact_view[i] ? 3 : 4);
|
v->height = (font_get(v->font)->height)*(compact_view[i] ? 3 : 4);
|
||||||
|
|
||||||
/* list section, rest of the screen */
|
/* list section, rest of the screen */
|
||||||
vp_list[i].y = vp_top[i].y + vp_top[i].height;
|
vp_list[i].y += vp_top[i].height;
|
||||||
vp_list[i].height -= vp_list[i].y;
|
vp_list[i].height -= vp_top[i].height;
|
||||||
screens[i].set_viewport(&vp_top[i]); /* req for next calls */
|
screens[i].set_viewport(&vp_top[i]); /* req for next calls */
|
||||||
|
|
||||||
screens[i].getstringsize("W", &w, &h);
|
screens[i].getstringsize("W", &w, &h);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue