From 843f357b031cd1f30167bd3d3596f372d2289b6f Mon Sep 17 00:00:00 2001 From: Holger Schemel Date: Mon, 1 Oct 2018 22:12:38 +0200 Subject: [PATCH] fixed handling mouse button events when waiting for event to continue --- src/tools.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools.c b/src/tools.c index bccbc9ab..a49d312f 100644 --- a/src/tools.c +++ b/src/tools.c @@ -4203,7 +4203,7 @@ void WaitForEventToContinue(void) { switch (event.type) { - case EVENT_BUTTONPRESS: + case EVENT_BUTTONRELEASE: case EVENT_KEYPRESS: #if defined(TARGET_SDL2) case SDL_CONTROLLERBUTTONDOWN: -- 2.34.1