mirror of
https://github.com/libretro/RetroArch
synced 2025-03-03 04:14:00 +00:00
(xmb) Comment out visible item calculation in xmb_draw_items()
Fixes a regression where fading animations didn't render if you were far into the previous list. This happened because "current" has an incorrect value thanks to a menu_navigation_set_selection(0) call in menu_cbs_left.c:162
This commit is contained in:
parent
4d8914e24b
commit
6bc5cd302a
@ -2278,7 +2278,7 @@ static void xmb_draw_items(
|
||||
first = i;
|
||||
last = end - 1;
|
||||
|
||||
xmb_calculate_visible_range(xmb, height, end, current, &first, &last);
|
||||
/* xmb_calculate_visible_range(xmb, height, end, current, &first, &last); */
|
||||
|
||||
menu_display_blend_begin();
|
||||
|
||||
@ -2315,6 +2315,12 @@ static void xmb_draw_items(
|
||||
|
||||
icon_y = xmb->margins.screen.top + node->y + half_size;
|
||||
|
||||
if (icon_y < half_size)
|
||||
continue;
|
||||
|
||||
if (icon_y > height + xmb->icon.size)
|
||||
break;
|
||||
|
||||
icon_x = node->x + xmb->margins.screen.left +
|
||||
xmb->icon.spacing.horizontal - half_size;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user