修复秒表小程序不能用触屏
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user