Merge pull request #2044 from lakkatv/glui

(GLUI) Stop scroll on tap
This commit is contained in:
Twinaphex 2015-08-17 03:29:41 +02:00
commit 70a79a73ca

View File

@ -833,6 +833,10 @@ static int pointer_tap(menu_file_list_cbs_t *cbs,
menu_input_t *menu_input = menu_input_get_ptr();
menu_navigation_t *nav = menu_navigation_get_ptr();
menu_input->pointer.accel = 0;
menu_input->pointer.accel0 = 0;
menu_input->pointer.accel1 = 0;
if (menu_input->pointer.ptr == nav->selection_ptr
&& cbs && cbs->action_select)
return menu_entry_action(entry, nav->selection_ptr, MENU_ACTION_SELECT);