修复秒表小程序不能用触屏

This commit is contained in:
MrZ_26
2022-03-27 00:35:28 +08:00
parent 11422bee5a
commit 73f63cfd0a

View File

@@ -35,6 +35,14 @@ end
function scene.mouseUp()
release()
end
function scene.touchDown()
press()
end
function scene.touchUp()
if #love.touch.getTouches()==0 then
release()
end
end
function scene.keyDown(key,isRep)
if isRep then return end
if key=='escape'then