final changes for better touch function
This commit is contained in:
1 parent
51d78e85cf
commit
63253b69eb
1 file changed
+1
-2
@@ -102,8 +102,6 @@ async def touch(event):
|
|||||||
else:
|
else:
|
||||||
print("touch problem")
|
print("touch problem")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
||||||
return None
|
return None
|
||||||
|
|
||||||
async def is_SPACE_event(event):
|
async def is_SPACE_event(event):
|
||||||
@@ -504,6 +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 (result)
|
||||||
waiting = False
|
waiting = False
|
||||||
|
|
||||||
async def fail_current_case():
|
async def fail_current_case():
|
||||||
|
|||||||
Reference in new issue
Block a user