We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 46c5353 commit 994a5cdCopy full SHA for 994a5cd
1 file changed
menu/menu_driver.c
@@ -5322,6 +5322,10 @@ unsigned menu_event(
5322
if (menu_st->flags & MENU_ST_FLAG_BLOCK_ALL_INPUT)
5323
return MENU_ACTION_NOOP;
5324
5325
+ /* Clear OK if dragged */
5326
+ if (menu_input->pointer.flags & MENU_INP_PTR_FLG_DRAGGED)
5327
+ ok_current = ok_trigger = ok_trigger_release = 0;
5328
+
5329
ok_old = ok_current;
5330
5331
/* Get pointer (mouse + touchscreen) input
@@ -5790,7 +5794,7 @@ unsigned menu_event(
5790
5794
|| keydown[RETRO_DEVICE_ID_JOYPAD_RIGHT]
5791
5795
|| keydown[menu_cancel_btn]
5792
5796
)
5793
- ok_trigger = false;
5797
+ ok_trigger = 0;
5798
5799
memset(keydown, 0, sizeof(keydown));
5800
}
0 commit comments