mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 21:32:45 +00:00
(RGUI) Fix mouse hovering
This commit is contained in:
parent
3e6688529a
commit
c3f15be0f1
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user