final changes for better touch function

This commit is contained in:
2025-05-03 02:23:32 +02:00
parent f5580a6eda
commit bda701948b

View File

@@ -101,7 +101,7 @@ async def touch(event):
return "ontop"
else:
print("touch problem")
return "False"
return "touch problem"
return "False"
async def is_SPACE_event(event):
@@ -502,7 +502,7 @@ async def show_instruction_screen(image):
pygame.quit()
sys.exit()
elif await is_SPACE_event(event) or (result == "snap"):
print ("test")
print ("test "+result)
waiting = False
async def fail_current_case():