From 79612b2d8c8ccab4f227a6b3f22a53da85813a45 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 11 May 2015 23:12:54 +0200 Subject: [PATCH] Fix MOUSE_ACTION_BUTTON_L_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 6bec3af7f5..60aed633a5 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)) + if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_TOGGLE) && menu->mouse.oldleft) return cbs->action_toggle(entry->type, entry->label, MENU_ACTION_RIGHT, true); if (BIT64_GET(input_mouse, MOUSE_ACTION_BUTTON_L_OK))