From ef1b06d80052070e19c3d2dc7cbf7c4cd7e829fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Andr=C3=A9=20Santoni?= Date: Mon, 26 Jan 2015 19:30:44 +0100 Subject: [PATCH] (XMB) Fix label alpha bug --- menu/drivers/xmb.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/menu/drivers/xmb.c b/menu/drivers/xmb.c index 5e5a52c3c3..46e553c6cd 100644 --- a/menu/drivers/xmb.c +++ b/menu/drivers/xmb.c @@ -515,10 +515,13 @@ static void xmb_list_open_new(file_list_t *list, int dir, size_t current) if (!xmb) continue; - - node->label_alpha = 0; + if (dir == 1 || (dir == -1 && i != current)) node->alpha = 0; + + if (dir == 1 || dir == -1) + node->label_alpha = 0; + //if (dir == 1 || (dir == -1 && i == current)) node->x = xmb->icon_size*dir*2; //else