修复cannon小程序单击左键没用

This commit is contained in:
MrZ626
2021-09-12 21:14:55 +08:00
parent 8bedd7aa2a
commit 7167df10e6

View File

@@ -31,7 +31,7 @@ function scene.keyDown(key,isRep)
SCN.back()
end
end
function scene.mouseDown(k)
function scene.mouseDown(_,_,k)
if k==1 then
scene.keyDown("space")
end