mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Backport/rewrites wmarquesr pt. 8
This commit is contained in:
parent
20c506fa26
commit
b280d25f8a
@ -892,16 +892,18 @@ static int menu_input_mouse_post_iterate(uint64_t *input_mouse,
|
||||
unsigned header_height;
|
||||
settings_t *settings = config_get_ptr();
|
||||
menu_input_t *menu_input = menu_input_get_ptr();
|
||||
bool check_overlay = settings ? !settings->menu.mouse.enable: false;
|
||||
|
||||
*input_mouse = MOUSE_ACTION_NONE;
|
||||
|
||||
menu_navigation_ctl(MENU_NAVIGATION_CTL_GET_SELECTION, &selection);
|
||||
|
||||
if (!settings->menu.mouse.enable
|
||||
#ifdef HAVE_OVERLAY
|
||||
|| (settings->input.overlay_enable && input_overlay_is_alive())
|
||||
check_overlay = check_overlay ||
|
||||
(settings->input.overlay_enable && input_overlay_is_alive());
|
||||
#endif
|
||||
)
|
||||
|
||||
if (check_overlay)
|
||||
{
|
||||
menu_input->mouse.wheeldown = false;
|
||||
menu_input->mouse.wheelup = false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user