Text viewer plugin: Fix info viewport font not being set to user selected font
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31096 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
bdaac8ba04
commit
d6a397d4d0
1 changed files with 1 additions and 1 deletions
|
@ -277,12 +277,12 @@ void tv_set_layout(bool show_scrollbar)
|
||||||
vertical_scrollbar.w = scrollbar_width;
|
vertical_scrollbar.w = scrollbar_width;
|
||||||
vertical_scrollbar.h = footer.y - vertical_scrollbar.y - scrollbar_height;
|
vertical_scrollbar.h = footer.y - vertical_scrollbar.y - scrollbar_height;
|
||||||
|
|
||||||
|
vp_info.font = preferences->font_id;
|
||||||
vp_text = vp_info;
|
vp_text = vp_info;
|
||||||
vp_text.x += horizontal_scrollbar.x;
|
vp_text.x += horizontal_scrollbar.x;
|
||||||
vp_text.y += vertical_scrollbar.y;
|
vp_text.y += vertical_scrollbar.y;
|
||||||
vp_text.width = horizontal_scrollbar.w;
|
vp_text.width = horizontal_scrollbar.w;
|
||||||
vp_text.height = vertical_scrollbar.h;
|
vp_text.height = vertical_scrollbar.h;
|
||||||
vp_text.font = preferences->font_id;
|
|
||||||
#else
|
#else
|
||||||
(void) show_scrollbar;
|
(void) show_scrollbar;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue