(XMB) Improve list switch animation

This commit is contained in:
Jean-André Santoni 2014-11-14 23:39:24 +01:00
parent 5cd7e44455
commit 9c2617bcf8

View File

@ -578,6 +578,8 @@ static void xmb_list_switch_new(file_list_t *list, int dir, size_t current)
continue;
node->x = xmb->hspacing * dir;
node->alpha = 0;
node->label_alpha = 0;
float ia = (i == current) ? 1.0 : 0.5;
add_tween(XMB_DELAY, ia, &node->alpha, &inOutQuad, NULL);