forked from len0rd/rockbox
Fix flag for the viewport. Text is supposed to be centered.
Change-Id: I8b29787fb99e0469c9e4a0b0ea08e61d3ff92589
This commit is contained in:
parent
de1bcfa24f
commit
8a43603975
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ void touchbutton_draw(struct touchbutton *data, int num_buttons) {
|
|||
|
||||
/* Set line_height to height, then it'll center for us */
|
||||
data[i].vp.line_height = data[i].vp.height;
|
||||
data[i].vp.flags |= VP_FLAG_ALIGN_RIGHT;
|
||||
data[i].vp.flags |= VP_FLAG_ALIGN_CENTER;
|
||||
|
||||
/* If the width offset was 0, use a scrolling puts, else center and
|
||||
* print the title.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue