mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-04-12 00:47:49 -04:00
plugins: lrcplayer: fix non-UI font info vp w/ SBS enabled
With the statusbar enabled, the UI viewport's font may be different from the UI font, which breaks stringsize calculations in LRC Player that are currently all based on the UI font. Change-Id: Ib53de62134b250fa50353074959843278f38478f
This commit is contained in:
parent
59cc0282ec
commit
a70436fe8e
1 changed files with 1 additions and 0 deletions
|
|
@ -2691,6 +2691,7 @@ static int lrc_main(void)
|
|||
FOR_NB_SCREENS(i)
|
||||
{
|
||||
rb->viewportmanager_theme_enable(i, prefs.statusbar_on, &vp_info[i]);
|
||||
vp_info[i].font = uifont;
|
||||
vp_lyrics[i] = vp_info[i];
|
||||
vp_lyrics[i].flags &= ~VP_FLAG_ALIGNMENT_MASK;
|
||||
vp_lyrics[i].y += h;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue