mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(menu_input.c) Always use MENU_ACTION_SELECT now for mouse presses
This commit is contained in:
parent
5489634f40
commit
8a173035c9
@ -838,12 +838,8 @@ static int pointer_tap(menu_file_list_cbs_t *cbs,
|
||||
menu_list->selection_buf->list[nav->selection_ptr].label);
|
||||
|
||||
if (menu_input->pointer.ptr == nav->selection_ptr
|
||||
&& cbs && cbs->action_right && setting &&
|
||||
(setting->type == ST_BOOL || setting->type == ST_UINT
|
||||
|| setting->type == ST_FLOAT || setting->type == ST_STRING))
|
||||
return menu_entry_action(entry, nav->selection_ptr, MENU_ACTION_RIGHT);
|
||||
else if (menu_input->pointer.ptr == nav->selection_ptr)
|
||||
return menu_entry_action(entry, nav->selection_ptr, MENU_ACTION_OK);
|
||||
&& cbs && cbs->action_select)
|
||||
return menu_entry_action(entry, nav->selection_ptr, MENU_ACTION_SELECT);
|
||||
else
|
||||
menu_navigation_set(nav, menu_input->pointer.ptr, false);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user