From e975658a5eb03e0fc1c453785a2af3dd29f10974 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Thu, 14 May 2015 13:09:06 +0200 Subject: [PATCH] Fix mouse toggle --- menu/menu_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/menu/menu_input.c b/menu/menu_input.c index 18a922146d..8094a24333 100644 --- a/menu/menu_input.c +++ b/menu/menu_input.c @@ -712,7 +712,7 @@ static int menu_input_mouse_frame( if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L)) { - if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE) && menu->mouse.oldleft) + if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE)) return cbs->action_toggle(entry->type, entry->label, MENU_ACTION_RIGHT, true); if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_OK))