mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-25 04:06:18 +00:00
Fix battery placement
This commit is contained in:
parent
f0fc61be32
commit
ce27d38d0e
@ -2665,7 +2665,7 @@ static void xmb_frame(void *data)
|
||||
if (percent > 0)
|
||||
{
|
||||
size_t x_pos = 0;
|
||||
size_t x_pos_icon = xmb->margins.title.left / 2;
|
||||
size_t x_pos_icon = xmb->margins.title.left;
|
||||
|
||||
if (datetime_width)
|
||||
x_pos_icon += datetime_width + (xmb->icon.size / 2) + (xmb->margins.title.left / 2);
|
||||
@ -2692,7 +2692,7 @@ static void xmb_frame(void *data)
|
||||
xmb->margins.title.left;
|
||||
|
||||
xmb_draw_text(xmb, msg,
|
||||
width - xmb->margins.title.left - x_pos,
|
||||
width - xmb->margins.title.left*1.5 - x_pos,
|
||||
xmb->margins.title.top, 1, 1, TEXT_ALIGN_RIGHT,
|
||||
width, height, xmb->font);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user