final changes for better touch function
This commit is contained in:
4
main.py
4
main.py
@@ -101,7 +101,7 @@ async def touch(event):
|
|||||||
return "ontop"
|
return "ontop"
|
||||||
else:
|
else:
|
||||||
print("touch problem")
|
print("touch problem")
|
||||||
return "False"
|
return "touch problem"
|
||||||
return "False"
|
return "False"
|
||||||
|
|
||||||
async def is_SPACE_event(event):
|
async def is_SPACE_event(event):
|
||||||
@@ -502,7 +502,7 @@ async def show_instruction_screen(image):
|
|||||||
pygame.quit()
|
pygame.quit()
|
||||||
sys.exit()
|
sys.exit()
|
||||||
elif await is_SPACE_event(event) or (result == "snap"):
|
elif await is_SPACE_event(event) or (result == "snap"):
|
||||||
print ("test")
|
print ("test "+result)
|
||||||
waiting = False
|
waiting = False
|
||||||
|
|
||||||
async def fail_current_case():
|
async def fail_current_case():
|
||||||
|
|||||||
Reference in New Issue
Block a user