mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-22 10:49:02 +00:00
(XMB) Improve list switch animation
This commit is contained in:
parent
5cd7e44455
commit
9c2617bcf8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user