mirror of
https://github.com/CTCaer/RetroArch.git
synced 2025-01-17 00:07:44 +00:00
(menu) Don't set selection to 0 on when navigating horizontally
This commit is contained in:
parent
19fa2756d5
commit
22ef8538b7
@ -159,8 +159,6 @@ static int action_left_mainmenu(unsigned type, const char *label,
|
||||
{
|
||||
settings_t *settings = config_get_ptr();
|
||||
|
||||
menu_navigation_set_selection(0);
|
||||
|
||||
if ((list_info.selection != 0)
|
||||
|| settings->bools.menu_navigation_wraparound_enable)
|
||||
push_list = 1;
|
||||
|
@ -193,8 +193,6 @@ static int action_right_mainmenu(unsigned type, const char *label,
|
||||
menu_driver_ctl(RARCH_MENU_CTL_LIST_GET_SIZE, &list_horiz_info);
|
||||
menu_driver_ctl(RARCH_MENU_CTL_LIST_GET_SIZE, &list_tabs_info);
|
||||
|
||||
menu_navigation_set_selection(0);
|
||||
|
||||
if ((list_info.selection != (list_horiz_info.size + list_tabs_info.size))
|
||||
|| settings->bools.menu_navigation_wraparound_enable)
|
||||
return action_right_goto_tab();
|
||||
|
Loading…
x
Reference in New Issue
Block a user