(RGUI) Fix mouse hovering

This commit is contained in:
Jean-André Santoni 2015-03-08 22:44:39 +01:00
parent 3e6688529a
commit c3f15be0f1

View File

@ -162,6 +162,10 @@ static int mouse_post_iterate(menu_file_list_cbs_t *cbs, const char *path,
if (!menu->mouse.enable)
return 0;
if (menu->mouse.ptr >= 0
&& menu->mouse.ptr <= menu_list_get_size(menu->menu_list)-1)
menu_navigation_set(&menu->navigation, menu->mouse.ptr, false);
if (menu->mouse.left)
{
if (!menu->mouse.oldleft)