From c353b5645e620626f81522da9a24c675f9387600 Mon Sep 17 00:00:00 2001 From: pascald Date: Sat, 3 May 2025 01:56:31 +0200 Subject: [PATCH] final changes for better touch function --- main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/main.py b/main.py index bf66dcb..250b17a 100644 --- a/main.py +++ b/main.py @@ -496,6 +496,7 @@ async def show_instruction_screen(image): pygame.display.flip() await asyncio.sleep(0) for event in pygame.event.get(): + await asyncio.sleep(0) result = await touch(event) if event.type == pygame.QUIT: pygame.quit()