mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
Merge pull request #5342 from heuripedes/master
(xmb) Comment out visible item calculation in xmb_draw_items()
This commit is contained in:
commit
17726b36a1
@ -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